]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/emacs.bind
make NO_LATEX default, set ut compability stuff
[lyx.git] / lib / bind / emacs.bind
index 0cb72bed21dddeb22c85bdaf969e1b1c704a5091..962b869e949e536a4f2a6a0478286e46a8b62e40 100644 (file)
@@ -33,7 +33,7 @@
 # help in emacs
 \bind "C-h"                    "hyphenation-point-insert" 
 \bind "C-i"                    "hfill-insert"
-#bind "C-j"                    "------"
+\bind "C-j"                    "break-paragraph"
 \bind "C-k"                    "line-delete-forward"
 \bind "C-l"                    "screen-recenter"
 \bind "C-m"                    "mark-toggle"
@@ -47,8 +47,7 @@
 \bind "C-s"                    "find-replace"
 \bind "M-~S-percent"           "find-replace"
 
-# should be "chars-transpose" (swaps two chars)
-#bind "C-t"                    "------"
+\bind "C-t"                    "chars-transpose"
 
 # universal argument in emacs
 \bind "C-u"                    "font-underline"
 \bind "S-C-quotedbl"           "quote-insert"
 
 \bind "C-x a"                  "buffer-auto-save"
-#\bind "C-x b"                  "buffer-previous"
-\bind "C-x c"                  "lyx-quit"
+#\bind "C-x b"                 "buffer-previous"
 \bind "C-x d"                  "buffer-new"
-\bind "C-x g"                  "buffer-view-ps"
+\bind "C-x g"                  "buffer-view ps"
 \bind "C-x k"                  "buffer-close"
-\bind "C-x p"                  "buffer-view"
-\bind "C-x r"                  "buffer-typeset"
+\bind "C-x p"                  "buffer-view dvi"
+\bind "C-x r"                  "buffer-update dvi"
 # Should have been "buffer-write-some"
 # \bind "C-x s"                  "buffer-write"
-\bind "C-x t"                  "buffer-typeset"
+\bind "C-x t"                  "buffer-update dvi"
 \bind "C-x u"                  "undo"
 \bind "C-x v h"                "vc-history"
 \bind "C-x v v"                "vc-check-in"
 \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 documents"
 \bind "C-x C-c"                "lyx-quit"
 \bind "C-x C-d"                "buffer-new"
-\bind "C-x C-f"                "buffer-open"
-\bind "C-x C-g"                "buffer-view-ps"
-\bind "C-x C-p"                "buffer-view"
+\bind "C-x C-f"                "file-open"
+\bind "C-x C-g"                "buffer-view ps"
+\bind "C-x C-p"                "buffer-view dvi"
 \bind "C-x C-q"                "buffer-toggle-read-only"
-#\bind "C-x C-r"                "buffer-typeset"
+#\bind "C-x C-r"                "buffer-update dvi"
 \bind "C-x C-s"                "buffer-write"
-\bind "C-x C-t"                "buffer-typeset"
+\bind "C-x C-t"                "buffer-update dvi"
 
 
 # this is "upcase-region" in emacs
 #bind "F1"                     "help"                          # Not yet implemented!
 #bind "C-F1"                   "help-context"                  # Not yet implemented!
 #\bind "F2"                     "buffer-write"
-#\bind "F3"                     "buffer-open"
+#\bind "F3"                     "file-open"
 #bind "F4"                     "------"
 #bind "F5"                     "------"
 #bind "F6"                     "------"
 \bind "End"                    "buffer-end"
 
 \bind "C-~S-greater"           "reference-goto"
-\bind "C-~S-less"              "reference-back"
-
+\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-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_file menus.bind
 \bind_file math.bind
+\bind_file latinkeys.bind