]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/sciword.bind
- Math.lyx: - update math bold description to the new shortcuts
[lyx.git] / lib / bind / sciword.bind
index d43803e1087abb829d02ba042f1e9585bd3576be..d395ac59b234eea53d65d08849caca131e0c6df9 100644 (file)
@@ -1,3 +1,5 @@
+# -*- text -*-
+
 # file sciword.bind
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
@@ -8,7 +10,6 @@
 
 # LyX keyboard definitions similar to those of Scientific Word.
 
-#\bind "C-a"                    "------"
 #\bind "C-b"                    "font-bold"
 
 # Copy, paste, etc.: more familiar keys
@@ -68,7 +69,7 @@
 
 
 # Do we need this?
-#\bind "C-h"   "hyphenation-point-insert"
+#\bind "C-h"   "specialchar-insert hyphenation"
 
 # Sciword mnemonic.
 \bind "C-i"    "math-insert \int"
 
 \bind "C-k"    "line-delete-forward"
 \bind "C-l"    "screen-recenter"
+\bind "C-S-I"                  "info-insert"
 
 # Toggle: in text mode, switch to math, and vice versa. Also C-t.
 \bind "C-m"    "math-mode"
-# C-n is numbering equations now. Sciword had "C-Tab" mnemonic which conflicts with many things.
-# Numbering equations. Should perhaps simplify math-number and math-nonumber into one command since they are used in very different contexts. This and also math-macro stuff should be available in the Lyx menus!
-\bind "C-n"    "math-number"
-\bind "S-C-N" "math-nonumber"
+\bind "C-n"    "math-number-toggle"
+\bind "S-C-N"  "math-number-line-toggle"
 
 \bind "C-o"    "file-open"
 
 
 \bind "C-u"    "font-underline"
 \bind "C-v"    "paste"
+\bind "C-S-v"  "clipboard-paste"
+\bind "C-M-v"  "primary-selection-paste"
 \bind "C-w"    "buffer-close"
 \bind "C-x"    "cut"
 \bind "C-z"    "undo"
 \bind "S-C-Z"  "redo"
+\bind "C-a"    "command-sequence buffer-begin ; buffer-end-select"   # select all
 
 
 # This combination makes an umlaut accent now.
 #\bind "S-C-quotedbl"           "quote-insert"
+\bind "S-M-quotedbl"           "quote-insert single"
 
 # Bracket delimiters. Sciword mnemonic is to press Control-<bracket key>
 
 #\bind "C-F1"                   "help-context"                  # Not yet implemented!
 \bind "F2"                     "buffer-write"
 \bind "S-F2"                     "buffer-export latex"
-\bind "F3"                     "find-replace"
+\bind "F3"                     "dialog-show findreplace"
 
 \bind "C-F4"                   "buffer-close"
 \bind "M-F4"                   "lyx-quit"
 \bind "F4"                     "font-default"
 \bind "F5"                     "font-bold"
 \bind "F6"                     "font-emph"
-\bind "F7"                     "font-code"
+\bind "F7"                     "font-typewriter"
 \bind "F8"                     "font-noun"
 # F9 bound below as meta-prefix (useful e.g. if the keyboard doesn't have a working ALT).
 #\bind "F9"                     "------"
 \bind "C-s S-greater"  "math-insert \gg"
 
 # usual bindings
-\bind_file maths.bind
+\bind_file math.bind
 \bind_file menus.bind
 \bind_file latinkeys.bind
 \bind_file cyrkeys.bind
 \bind_file greekkeys.bind
 
 
-\bind "S-KP_Right"                     "forward-select"
-\bind "S-KP_Left"                              "backward-select"
+\bind "M-Up"                   "paragraph-move-up"
+\bind "M-Down"                 "paragraph-move-down"
+\bind "S-KP_Right"                     "char-right-select"
+\bind "S-KP_Left"                              "char-left-select"
 \bind "S-KP_Up"                                "up-select"
 \bind "S-KP_Down"                              "down-select"
-\bind "S-C-KP_Right"                   "word-forward-select"
-\bind "S-C-KP_Left"                    "word-backward-select"
+\bind "S-C-KP_Right"                   "word-right-select"
+\bind "S-C-KP_Left"                    "word-left-select"
 \bind "S-C-KP_Up"                              "paragraph-up-select"
 \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_End"                               "line-end-select"
 \bind "S-KP_Prior"                     "screen-up-select"
 \bind "S-KP_Next"                              "screen-down-select"
 \bind "S-C-KP_Home"                    "buffer-begin-select"
 \bind "C-KP_Insert"                    "copy"
 \bind "S-KP_Insert"                    "paste"
 \bind "S-KP_Delete"                    "cut"
 
-\bind "M-x" "command-execute"
 
+\bind "M-x" "command-execute"