]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/emacs.bind
correct a typo in filename
[lyx.git] / lib / bind / emacs.bind
index f0cb33e17f1ad7c1c1b60697a1be18fce249ec65..0a92d74bb2d2fafaba0c98d0043a0952ca2c99d9 100644 (file)
@@ -25,7 +25,7 @@
 #
 # Happy tuning!
 
-Format 2
+Format 4
 
 \bind "C-~S-at"                        "mark-on"
 \bind "C-a"                    "line-begin"
@@ -73,8 +73,8 @@ Format 2
 \bind "C-~S-slash"             "undo"
 \bind "C-~S-underscore"        "undo"
 
-\bind "~S-M-quotedbl"          "quote-insert single"
-\bind "~S-C-quotedbl"          "self-insert \""
+\bind "~S-M-quotedbl"          "quote-insert inner"
+\bind "~S-C-quotedbl"          "quote-insert outer auto plain"
 
 \bind "C-x a"                  "buffer-auto-save"
 #\bind "C-x b"                 "buffer-previous"
@@ -107,6 +107,8 @@ Format 2
 \bind "C-x C-t"                "buffer-update dvi"
 \bind "C-Next"                 "buffer-next"
 \bind "C-Prior"                "buffer-previous"
+\bind "S-F7"                   "thesaurus-entry"
+\bind "S-F8"                   "dialog-show spellchecker"
 \bind "C-x 0"                  "view-close"
 
 # Window commands
@@ -152,10 +154,10 @@ Format 2
 # 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"
@@ -226,6 +228,8 @@ Format 2
 \bind "M-Return"               "paragraph-break inverse"
 \bind "C-Return"               "newline-insert newline"
 \bind "C-S-Return"             "newline-insert linebreak"
+\bind "M-S-Right"              "depth-increment"
+\bind "M-S-Left"               "depth-decrement"
 \bind "C-S-L"                  "specialchar-insert ligature-break"
 \bind "C-space"                        "command-alternatives math-space ; space-insert protected"
 \bind "nobreakspace"           "space-insert protected"
@@ -236,6 +240,10 @@ Format 2
 \bind "M-period"               "specialchar-insert dots"
 \bind "M-w"                    "copy"
 \bind "Escape"                 "meta-prefix"
+\bind "M-u"                    "word-upcase partial"
+\bind "M-l"                    "word-lowcase partial"
+# This conflicts with the character menu.
+#bind "M-c"                    "word-capitalize partial"
 
 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
 \bind "S-KP_Right"              "char-right-select"
@@ -252,8 +260,9 @@ Format 2
 \bind "S-KP_Next"               "screen-down-select"
 \bind "S-C-KP_Home"             "buffer-begin-select"
 \bind "S-C-KP_End"              "buffer-end-select"
-\bind "S-C-KP_Prior"            "buffer-begin-select"
-\bind "S-C-KP_Next"             "buffer-end-select"
+\bind "S-C-KP_Prior"            "buffer-move-previous"
+\bind "S-C-KP_Next"             "buffer-move-next"
+\bind "C-x h"                  "command-sequence buffer-begin ; buffer-end-select"   # select all
 \bind "M-h"                     "inset-select-all"
 \bind "C-KP_Insert"             "copy"
 \bind "S-KP_Insert"             "paste"
@@ -267,3 +276,9 @@ Format 2
 \bind_file latinkeys.bind
 \bind_file cyrkeys.bind
 \bind_file greekkeys.bind
+
+# the following bindings have to be adapted w.r.t. menus.bind
+\bind "M-c Down"               "word-lowcase partial"
+\bind "M-c Up"                 "word-upcase partial"
+\bind "M-c Right"              "word-capitalize partial"
+