X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbind%2Femacs.bind;h=60f849b67d4b720f3c7c44f7c7bb9a349b399898;hb=433de6f4618ef866a6f63579da861ed24b0f37e9;hp=8c8421d997e14e3da4d7c472f780bfa09c4300ea;hpb=1bf01a8ad307729fa486563d600ba9d8c2320368;p=lyx.git diff --git a/lib/bind/emacs.bind b/lib/bind/emacs.bind index 8c8421d997..60f849b67d 100644 --- a/lib/bind/emacs.bind +++ b/lib/bind/emacs.bind @@ -25,7 +25,7 @@ # # Happy tuning! -Format 3 +Format 4 \bind "C-~S-at" "mark-on" \bind "C-a" "line-begin" @@ -46,6 +46,9 @@ Format 3 \bind "C-m" "mark-toggle" \bind "C-n" "down" \bind "C-o" "inset-toggle" + +# facemenu-menu in emacs +\bind "M-o" "inset-settings" \bind "C-p" "up" # this is "quoted-insert" a total different meaning from "quote-insert" @@ -73,8 +76,8 @@ Format 3 \bind "C-~S-slash" "undo" \bind "C-~S-underscore" "undo" -\bind "~S-M-quotedbl" "quote-insert single" -\bind "~S-C-quotedbl" "self-insert \"" +\bind "~S-M-quotedbl" "quote-insert inner" +\bind "~S-C-quotedbl" "quote-insert outer auto plain" \bind "C-x a" "buffer-auto-save" #\bind "C-x b" "buffer-previous" @@ -154,10 +157,10 @@ Format 3 # Motion group # -\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 "M-Up" "command-alternatives outline-up; paragraph-move-up; tabular-feature move-row-up" +\bind "M-Down" "command-alternatives outline-down; paragraph-move-down; tabular-feature move-row-down" +\bind "M-Right" "tabular-feature move-column-right" +\bind "M-Left" "tabular-feature move-column-left" \bind "C-Right" "word-right" \bind "C-Left" "word-left" \bind "C-Up" "paragraph-up" @@ -228,6 +231,8 @@ Format 3 \bind "M-Return" "paragraph-break inverse" \bind "C-Return" "newline-insert newline" \bind "C-S-Return" "newline-insert linebreak" +\bind "M-S-Right" "depth-increment" +\bind "M-S-Left" "depth-decrement" \bind "C-S-L" "specialchar-insert ligature-break" \bind "C-space" "command-alternatives math-space ; space-insert protected" \bind "nobreakspace" "space-insert protected" @@ -260,6 +265,7 @@ Format 3 \bind "S-C-KP_End" "buffer-end-select" \bind "S-C-KP_Prior" "buffer-move-previous" \bind "S-C-KP_Next" "buffer-move-next" +\bind "C-x h" "command-sequence buffer-begin ; buffer-end-select" # select all \bind "M-h" "inset-select-all" \bind "C-KP_Insert" "copy" \bind "S-KP_Insert" "paste"