]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/xemacs.bind
Update ru docs
[lyx.git] / lib / bind / xemacs.bind
index 569eba346ff4529a8e00188ba2c864f25a21e022..135b13303b2b01b494ac8e2f90de87fb5aa29876 100644 (file)
 #
 # Happy tuning!
 
-Format 1
+Format 5
 
 \bind "C-~S-at"                        "mark-on"
 \bind "C-a"                    "line-begin"
 \bind "C-b"                    "char-backward"
 #bind "C-c"                    "------" # see end of file
-\bind "C-d"                    "char-delete-forward"
+\bind "C-d"                    "char-delete-forward confirm"
 \bind "C-e"                    "line-end"
 \bind "C-f"                    "char-forward"
 \bind "C-g"                    "cancel"
@@ -77,8 +77,8 @@ Format 1
 \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"
 # not currently supported
@@ -130,7 +130,7 @@ Format 1
 
 #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"                     "file-open"
 #bind "F4"                     "------"
 #bind "F5"                     "------"
@@ -147,10 +147,10 @@ Format 1
 # 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"
@@ -220,15 +220,15 @@ Format 1
 # Edit group
 #
 
-\bind "M-Delete"               "word-delete-backward"
-\bind "C-Delete"               "word-delete-forward"
-\bind "M-d"                     "word-delete-forward"
-\bind "C-BackSpace"            "word-delete-backward"
+\bind "M-Delete"               "word-delete-backward confirm"
+\bind "C-Delete"               "word-delete-forward confirm"
+\bind "M-d"                     "word-delete-forward confirm"
+\bind "C-BackSpace"            "word-delete-backward confirm"
 \bind "M-Return"               "paragraph-break inverse"
 \bind "C-Return"               "newline-insert newline"
 \bind "C-S-Return"             "newline-insert linebreak"
 \bind "C-S-L"                  "specialchar-insert ligature-break"
-\bind "C-space"                        "command-alternatives space-insert protected ; math-space"
+\bind "C-space"                        "command-alternatives math-space ; space-insert protected"
 \bind "nobreakspace"           "space-insert protected"
 \bind "C-M-space"              "space-insert normal"
 \bind "S-C-space"              "space-insert thin"
@@ -237,6 +237,10 @@ Format 1
 \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"
@@ -249,8 +253,8 @@ Format 1
 \bind "S-C-KP_Down"             "paragraph-down-select"
 \bind "S-KP_Home"               "line-begin-select"
 \bind "S-KP_End"                "line-end-select"
-\bind "S-KP_Prior"              "screen-up-select"
-\bind "S-KP_Next"               "screen-down-select"
+\bind "S-KP_Prior"              "buffer-move-previous"
+\bind "S-KP_Next"               "buffer-move-next"
 \bind "S-C-KP_Home"             "buffer-begin-select"
 \bind "S-C-KP_End"              "buffer-end-select"
 \bind "S-C-KP_Prior"            "buffer-begin-select"
@@ -324,7 +328,7 @@ Format 1
 \bind "C-c C-e d"              "layout Description"
 \bind "C-c C-e e"              "layout Enumerate"
 \bind "C-c C-e i"              "layout Itemize"
-\bind "C-c C-e l"              "layout List"
+\bind "C-c C-e l"              "layout Labeling"
 \bind "C-c C-e m"              "math-display"  # should this be math-mode?
 \bind "C-c C-e q"              "layout Quote"
 \bind "C-c C-e S-q"            "layout Quotation"
@@ -342,7 +346,6 @@ Format 1
 ## Start TeX mode, some overlap with AucTeX mode
 #
 \bind "C-c C-b"                        "buffer-update dvi"
-\bind "C-c C-p"                        "dialog-show print"
 \bind "C-c C-r"                        "buffer-update dvi"     # tex region
 #
 ## End TeX mode
@@ -356,3 +359,8 @@ Format 1
 \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"