]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/emacs.bind
* lib/images/change-next.xpm: beautify (arrow points to green text)
[lyx.git] / lib / bind / emacs.bind
index dd77f7baa1cf3640fde387cef4a902a4218c0f87..da23e8902637c53bc50a9c58b67517b19590d8f7 100644 (file)
 
 # Full author contact details are available in file CREDITS.
 
-# This is the EMACS flavour bind file, based on the bindings found 
+# This is the EMACS flavour bind file, based on the bindings found
 # in the Emacs editor.
 #
 #
 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
-# with every new install of LyX and your changes will be lost. 
-# Instead, customize a copy of this file placed in 
+# with every new install of LyX and your changes will be lost.
+# Instead, customize a copy of this file placed in
 # ~/.lyx/bind/emacs.bind
 #
 # Happy tuning!
 \bind "C-g"                    "cancel"
 
 # help in emacs
-\bind "C-h"                    "hyphenation-point-insert" 
+\bind "C-h"                    "hyphenation-point-insert"
 \bind "C-i"                    "hfill-insert"
 \bind "C-j"                    "break-paragraph"
 \bind "C-k"                    "line-delete-forward"
 \bind "C-l"                    "screen-recenter"
 \bind "C-m"                    "mark-toggle"
 \bind "C-n"                    "down"
-\bind "C-o"                    "inset-toggle"
+\bind "C-o"                    "next-inset-toggle"
 \bind "C-p"                    "up"
 
 # this is "quoted-insert" a total different meaning from "quote-insert"
@@ -69,7 +69,8 @@
 \bind "C-~S-slash"             "undo"
 \bind "C-~S-underscore"        "undo"
 
-\bind "~S-C-quotedbl"           "self-insert \""
+\bind "~S-M-quotedbl"          "quote-insert single"
+\bind "~S-C-quotedbl"          "self-insert \""
 
 \bind "C-x a"                  "buffer-auto-save"
 #\bind "C-x b"                 "buffer-previous"
@@ -90,7 +91,7 @@
 \bind "C-x bracketleft"        "screen-up"
 \bind "C-x bracketright"       "screen-down"
 \bind "C-x C-a"                "buffer-auto-save"
-\bind "C-x C-b"                "menu-open documents"
+\bind "C-x C-b"                "menu-open view"
 \bind "C-x C-c"                "lyx-quit"
 \bind "C-x C-d"                "buffer-new"
 \bind "C-x C-f"                "file-open"
 #\bind "C-x C-r"                "buffer-update dvi"
 \bind "C-x C-s"                "buffer-write"
 \bind "C-x C-t"                "buffer-update dvi"
+\bind "C-Next"                "buffer-next"
+\bind "C-Prior"                       "buffer-previous"
 
 
 # this is "upcase-region" in emacs
 # Motion group
 #
 
+\bind "M-Up"                   "paragraph-move-up"
+\bind "M-Down"                 "paragraph-move-down"
 \bind "C-Right"                        "word-forward"
 \bind "C-Left"                 "word-backward"
 \bind "C-Up"                   "paragraph-up"
 \bind "M-~S-less"              "buffer-begin"
 \bind "M-~S-greater"           "buffer-end"
 
-\bind "C-~S-greater"           "reference-goto"
+\bind "C-~S-greater"           "label-goto"
 \bind "C-~S-less"              "bookmark-goto 0"
 \bind "C-~S-1"                 "bookmark-goto 1"
 \bind "C-~S-2"                 "bookmark-goto 2"
 \bind "C-~S-3"                 "bookmark-goto 3"
+\bind "C-~S-4"                 "bookmark-goto 4"
+\bind "C-~S-5"                 "bookmark-goto 5"
 \bind "C-M-~S-1"               "bookmark-save 1"
-\bind "C-M-~S-2"               "bookmark-save 2"
-\bind "C-M-~S-3"               "bookmark-save 3"
 
 # The below are xemacs bindings
 #\bind "Home"                   "line-begin"
 \bind "S-C-Up"                 "paragraph-up-select"
 \bind "S-C-Down"               "paragraph-down-select"
 \bind "S-Home"                 "buffer-begin-select"
-\bind "S-End"                  "buffer-end-select"               
+\bind "S-End"                  "buffer-end-select"
 \bind "S-Prior"                "screen-up-select"
 \bind "S-Next"                 "screen-down-select"
 \bind "S-C-Home"               "buffer-begin-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"