]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/cua.bind
Fix key bindings for math space (#8974)
[lyx.git] / lib / bind / cua.bind
index 145120ce1c6853beba7da0387d0ce526cc744a5f..60b6f9cf112229b294012647abcf8322f3b4f04b 100644 (file)
 
 ###
 
+Format 1
+
 \bind "C-n"                    "buffer-new"
 \bind "C-S-N"                  "buffer-new-template"
 \bind "C-o"                    "file-open"
-\bind "C-w"                    "buffer-close"
+\bind "C-w"                    "view-close"
 \bind "C-s"                    "buffer-write"
 \bind "C-S-S"                  "buffer-write-as"
 \bind "C-p"                    "dialog-show print"
+\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-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"
@@ -66,7 +71,6 @@
 
 \bind "C-m"                    "math-mode"
 \bind "C-S-M"                  "math-display"
-\bind "C-S-r"                  "regexp-mode"
 \bind "C-M-n"                  "command-sequence math-display; math-number-toggle;"
 
 \bind "C-f"                    "dialog-show findreplace"
 # 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"
 \bind "C-~S-greater"           "label-goto"
 \bind "C-~S-less"              "bookmark-goto 0"
 
-
 #
 # Motion + select group
 #
 
 \bind "C-Delete"               "word-delete-forward"
 \bind "C-BackSpace"            "word-delete-backward"
-\bind "M-Return"               "break-paragraph inverse"
+\bind "M-Return"               "paragraph-break inverse"
 \bind "C-Return"               "newline-insert newline"
 \bind "C-S-Return"             "newline-insert linebreak"
 \bind "C-k"                    "line-delete-forward"
-\bind "C-space"                        "space-insert protected"
+\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"