X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbind%2Fcua.bind;h=2ba0064c41d18236e2483fddf66a989e0dab15cf;hb=5598c1fa961d5e55d7e34bde1be3e52a3054e538;hp=b7903b61cd74ad01743199eeb6df9a1108bc227c;hpb=348bc1c5b55e632261aa006f05317bc0f9fd02f2;p=lyx.git diff --git a/lib/bind/cua.bind b/lib/bind/cua.bind index b7903b61cd..2ba0064c41 100644 --- a/lib/bind/cua.bind +++ b/lib/bind/cua.bind @@ -34,10 +34,10 @@ ### -Format 2 +Format 5 \bind "C-n" "buffer-new" -\bind "C-S-N" "buffer-new-template" +\bind "C-S-N" "dialog-show lyxfiles templates" \bind "C-o" "file-open" \bind "C-w" "view-close" \bind "C-s" "buffer-write" @@ -45,14 +45,14 @@ Format 2 \bind "C-r" "buffer-view" \bind "C-d" "buffer-view dvi" # 'd' for dvi \bind "C-t" "buffer-view ps" -\bind "C-M-r" "master-buffer-view" -\bind "C-M-t" "master-buffer-view ps" -\bind "C-M-d" "master-buffer-view dvi" +\bind "C-M-r" "command-alternatives master-buffer-view; buffer-view" +\bind "C-M-t" "command-alternatives master-buffer-view ps; buffer-view ps" +\bind "C-M-d" "command-alternatives master-buffer-view dvi; buffer-view dvi" \bind "C-S-R" "buffer-update" \bind "C-S-D" "buffer-update dvi" # 'd' for dvi \bind "C-S-T" "buffer-update ps" -\bind "C-M-S-t" "master-buffer-update ps" -\bind "C-M-S-d" "master-buffer-update dvi" +\bind "C-M-S-t" "command-alternatives master-buffer-update ps; buffer-update ps" +\bind "C-M-S-d" "command-alternatives master-buffer-update dvi; buffer-update dvi" \bind "C-q" "lyx-quit" \bind "C-Next" "buffer-next" \bind "C-Tab" "buffer-next" @@ -75,6 +75,7 @@ Format 2 \bind "C-f" "dialog-show findreplace" \bind "C-S-f" "dialog-show findreplaceadv" \bind "C-i" "inset-toggle" # 'i' for Inset +\bind "C-M-i" "inset-settings" \bind "C-c" "copy" \bind "C-x" "cut" @@ -90,9 +91,9 @@ Format 2 \bind "C-a" "inset-select-all" \bind "C-S-E" "changes-track" # it's what MS Word uses -\bind "~S-M-quotedbl" "quote-insert single" -\bind "~S-C-quotedbl" "self-insert \"" -\bind "C-minus" "specialchar-insert hyphenation" +\bind "~S-M-quotedbl" "quote-insert inner" +\bind "~S-C-quotedbl" "quote-insert outer auto plain" +\bind "M-minus" "specialchar-insert hyphenation" \bind "C-S-underscore" "math-macro-fold" \bind "C-M-minus" "specialchar-insert nobreakdash" \bind "M-S-Right" "depth-increment" @@ -104,8 +105,10 @@ Format 2 #bind "F1" "help" # Not yet implemented! #bind "C-F1" "help-context" # Not yet implemented! -\bind "F2" "buffer-write" +\bind "F2" "buffer-write force" \bind "F3" "word-find" +\bind "S-F3" "word-find-backward" +\bind "C-F3" "search-string-set" \bind "C-F4" "buffer-close" \bind "M-F4" "lyx-quit" \bind "F5" "screen-recenter" @@ -123,18 +126,19 @@ Format 2 \bind "F11" "ui-toggle fullscreen" -\bind "M-equal" "buffer-zoom-in" -\bind "M-plus" "buffer-zoom-in" -\bind "M-minus" "buffer-zoom-out" +\bind "C-0" "buffer-zoom" +\bind "C-equal" "buffer-zoom-in" +\bind "C-plus" "buffer-zoom-in" +\bind "C-minus" "buffer-zoom-out" # # Motion group # -\bind "M-Up" "command-alternatives outline-up; paragraph-move-up; inset-modify tabular move-row-up" -\bind "M-Down" "command-alternatives outline-down; paragraph-move-down; inset-modify tabular move-row-down" -\bind "M-Right" "inset-modify tabular move-column-right" -\bind "M-Left" "inset-modify tabular move-column-left" +\bind "M-Up" "command-alternatives outline-up; paragraph-move-up; tabular-feature move-row-up" +\bind "M-Down" "command-alternatives outline-down; paragraph-move-down; tabular-feature move-row-down" +\bind "M-Right" "tabular-feature move-column-right" +\bind "M-Left" "tabular-feature move-column-left" \bind "C-Right" "word-right" \bind "C-Left" "word-left" \bind "C-Up" "paragraph-up" @@ -196,24 +200,24 @@ Format 2 # bookmarks # -\bind "C-~S-1" "bookmark-goto 1" -\bind "C-~S-2" "bookmark-goto 2" -\bind "C-~S-3" "bookmark-goto 3" -\bind "C-~S-4" "bookmark-goto 4" -\bind "C-~S-5" "bookmark-goto 5" -\bind "C-~S-6" "bookmark-goto 6" -\bind "C-~S-7" "bookmark-goto 7" -\bind "C-~S-8" "bookmark-goto 8" -\bind "C-~S-9" "bookmark-goto 9" -\bind "S-F1" "bookmark-save 1" -\bind "S-F2" "bookmark-save 2" -\bind "S-F3" "bookmark-save 3" -\bind "S-F4" "bookmark-save 4" -\bind "S-F5" "bookmark-save 5" -\bind "S-F6" "bookmark-save 6" -\bind "S-F7" "bookmark-save 7" -\bind "S-F8" "bookmark-save 8" -\bind "S-F9" "bookmark-save 9" +\bind "C-~S-1" "bookmark-goto 1" +\bind "C-~S-2" "bookmark-goto 2" +\bind "C-~S-3" "bookmark-goto 3" +\bind "C-~S-4" "bookmark-goto 4" +\bind "C-~S-5" "bookmark-goto 5" +\bind "C-~S-6" "bookmark-goto 6" +\bind "C-~S-7" "bookmark-goto 7" +\bind "C-~S-8" "bookmark-goto 8" +\bind "C-~S-9" "bookmark-goto 9" +\bind "M-~S-1" "bookmark-save 1" +\bind "M-~S-2" "bookmark-save 2" +\bind "M-~S-3" "bookmark-save 3" +\bind "M-~S-4" "bookmark-save 4" +\bind "M-~S-5" "bookmark-save 5" +\bind "M-~S-6" "bookmark-save 6" +\bind "M-~S-7" "bookmark-save 7" +\bind "M-~S-8" "bookmark-save 8" +\bind "M-~S-9" "bookmark-save 9" #