]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/emacs.bind
Avoid processing multiple times the same paragraph when converting latex arguments.
[lyx.git] / lib / bind / emacs.bind
index fd7123facea10eab6e33e81841b8381b320d4b71..09fe78361406cee3432bf75d51e362c553259b42 100644 (file)
@@ -25,7 +25,7 @@
 #
 # Happy tuning!
 
-Format 1
+Format 2
 
 \bind "C-~S-at"                        "mark-on"
 \bind "C-a"                    "line-begin"
@@ -52,7 +52,8 @@ Format 1
 \bind "C-q"                    "self-insert \""
 #bind "C-r"                    "------"
 \bind "C-s"                    "dialog-show findreplace"
-\bind "M-~S-percent"           "dialog-show findreplace"
+\bind "C-S-s"                  "dialog-show findreplaceadv"
+\bind "M-~S-percent"           "dialog-show findreplaceadv"
 
 \bind "C-t"                    "chars-transpose"
 
@@ -108,6 +109,10 @@ Format 1
 \bind "C-Prior"                "buffer-previous"
 \bind "C-x 0"                  "view-close"
 
+# Window commands
+\bind "C-x 5 2"                "window-new"
+\bind "C-x 5 0"                "window-close"
+
 
 # this is "upcase-region" in emacs
 #\bind "C-x C-u"                "undo"
@@ -147,8 +152,10 @@ Format 1
 # Motion group
 #
 
-\bind "M-Up"                   "paragraph-move-up"
-\bind "M-Down"                 "paragraph-move-down"
+\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 "C-Right"                        "word-right"
 \bind "C-Left"                 "word-left"
 \bind "C-Up"                   "paragraph-up"
@@ -220,7 +227,7 @@ Format 1
 \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"