]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/sciword.bind
back to tabular-insert
[lyx.git] / lib / bind / sciword.bind
index 86afc57cbfa24f359537055b079f4df4285ae581..db4a56ab6c5f08dc95c2fb2b2a9066bd85b54127 100644 (file)
 \bind "M-m l"                  "math-limits"
 \bind "M-m n"                  "math-number"
 \bind "M-m v"                  "accent-vector"
-\bind "M-m space"              "menu-open Math"
 
 # Sciword mnemonics for math editing:
 
 \bind "S-Insert"               "paste"
 \bind "S-Delete"               "cut"
 
+# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
+\bind "S-KP_Right"              "forward-select"
+\bind "S-KP_Left"               "backward-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_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_Prior"              "screen-up-select"
+\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 "C-KP_Insert"             "copy"
+\bind "S-KP_Insert"             "paste"
+\bind "S-KP_Delete"             "cut"
+
 #
 # Edit group
 #
 \bind "Escape"                 "cancel"
 \bind "F9"                     "meta-prefix"
 
-#
-# Visible Menu access menu
-#
-
-#\bind "F10 d"                  "menu-open Documents"
-#\bind "F10 e"                  "menu-open Edit"
-#\bind "F10 f"                  "menu-open File"
-#\bind "F10 h"                  "menu-open Help"
-#\bind "F10 i"                  "menu-open Insert"
-#\bind "F10 l"                  "menu-open Layout"
-#\bind "F10 m"                  "menu-open Math"
-#\bind "F10 o"                  "menu-open Options"
-
-
-
-#
-# File menu
-#
-
-#\bind "M-f a"                  "buffer-write-as"
-#\bind "M-f c"                  "buffer-close"
-#\bind "M-f n"                  "buffer-new"
-#\bind "M-f l"                  "file-last"                      # Not yet implemented.
-#\bind "M-f o"                  "file-open"
-#\bind "M-f p"                  "buffer-print"
-#\bind "M-f q"                  "lyx-quit"
-#\bind "M-f r"                  "buffer-update dvi"
-        # Obsolete
-#\bind "M-f s"                  "buffer-write"
-#\bind "M-f t"                  "buffer-update dvi"
-
-#\bind "M-f x"                  "buffer-view dvi"
-#\bind "M-f g"                  "buffer-view ps"
-#\bind "M-f space"              "menu-open File"
-
-
-#
-# Edit menu
-#
-
-##\bind "M-e b"                  "table"                         # Not yet implemented!
-#\bind "M-e c"                  "cut"
-#\bind "M-e e"                  "error-next"
-#\bind "M-e f"                  "find-replace"
-#\bind "M-e k"                  "line-delete-forward"
-#\bind "M-e m"                  "mark-on"
-#\bind "M-e S-M"                "mark-off"
-#\bind "M-e n"                  "note-next"
-#\bind "M-e o"                  "copy"
-#\bind "M-e p"                  "paste"
-#\bind "M-e r"                  "redo"
-#\bind "M-e s"                  "spellchecker"
-#\bind "M-e t"                  "toc-update"
-#\bind "M-e u"                  "undo"
-#\bind "M-e space"              "menu-open Edit"
-
-
-#
-# Layout menu
-#
-
-#\bind "M-l c"                  "layout-character"
-#\bind "M-l p"                  "layout-paragraph"
-#\bind "M-l d"                  "layout-document"
-#\bind "M-l q"                  "layout-quotes"
-#\bind "M-l l"                  "layout-preamble"
-#\bind "M-l e"                  "font-emph"
-#\bind "M-l n"                  "font-smallcaps"
-#\bind "M-l b"                  "font-bold"
-#\bind "M-l t"                  "ert-insert"
-#\bind "M-l v"                  "depth-next"
-#\bind "M-l space"              "menu-open Layout"
-
-
-
-#
-# Insert menu
-#
-
-#\bind "M-i c"                  "citation-insert"
-#\bind "M-i f"                  "footnote-insert"
-#\bind "M-i h"                  "hfill-insert"
-#\bind "M-i m"                  "marginpar-insert"
-#\bind "M-i n"                  "note-insert"
-#\bind "M-i l"                  "label-insert"
-#\bind "M-i r"                  "reference-insert"
-#\bind "M-i minus"              "hyphenation-point-insert"
-#\bind "M-i apostrophe"         "quote-insert"
-#\bind "M-i S-quotedbl"         "quote-insert"
-#\bind "M-i space"              "menu-open Insert"
-
-
-
-#
-# Options menu
-#
-
-#\bind "M-o f"                  "screen-font-options"           # Not yet implemented!
-#\bind "M-o s"                  "spellcheck-options"            # Not yet implemented!
-#\bind "M-o k"                  "keyboard-options"              # Not yet implemented!
-#\bind "M-o l"                  "latex-options"                 # Not yet implemented!
-#\bind "M-o space"              "menu-open Options"
-
-
-
-#
-# Documents menu
-#
-
-#\bind "M-d p"                  "buffer-previous"
-#\bind "M-d space"              "menu-open Documents"
-
-
-
-#
-# Help menu
-#
-
-#\bind "M-h d"                  "help-documentation"            # Not yet implemented!
-#\bind "M-h o"                  "help-copyright"                # Not yet implemented!
-#\bind "M-h w"                  "help-warranty"                 # Not yet implemented!
-#\bind "M-h c"                  "help-credits"                  # Not yet implemented!
-#\bind "M-h v"                  "help-version"                  # Not yet implemented!
-#\bind "M-h space"              "menu-open Help"
-
 
 
 #
 \bind "M-k t"                  "keymap-toggle"
 \bind "M-k x"                  "keymap-off"
 
-
-
 #
 # Misc menu
 #
+# this clashes with M-x so we can't use it. M-x is more
+# important (reported by Serge Winitzki <winitzki@yahoo.com>)
+# \bind "M-x c"                  "screen-recenter"
+
+\bind "M-x"                    "command-execute"
 
-\bind "M-x c"                  "screen-recenter"
 
 \bind_file latinkeys.bind
+\bind_file cyrkeys.bind
+\bind_file greekkeys.bind