X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbind%2Femacs.bind;h=bfd42b448c369c512b4e56407d4b6cdcf14f8588;hb=41b39ff835b39fc647190ebf02aca83e89ec8bea;hp=384d638ffd90189da74ae000d6f35f91cd2d967c;hpb=3c84267d8d56a103649494066b918130320bfc12;p=lyx.git diff --git a/lib/bind/emacs.bind b/lib/bind/emacs.bind index 384d638ffd..bfd42b448c 100644 --- a/lib/bind/emacs.bind +++ b/lib/bind/emacs.bind @@ -25,7 +25,7 @@ # # Happy tuning! -Format 1 +Format 2 \bind "C-~S-at" "mark-on" \bind "C-a" "line-begin" @@ -107,8 +107,14 @@ Format 1 \bind "C-x C-t" "buffer-update dvi" \bind "C-Next" "buffer-next" \bind "C-Prior" "buffer-previous" +\bind "S-F7" "thesaurus-entry" +\bind "S-F8" "dialog-show spellchecker" \bind "C-x 0" "view-close" +# Window commands +\bind "C-x 5 2" "window-new" +\bind "C-x 5 0" "window-close" + # this is "upcase-region" in emacs #\bind "C-x C-u" "undo" @@ -148,8 +154,8 @@ Format 1 # Motion group # -\bind "M-Up" "command-alternatives paragraph-move-up; inset-modify tabular move-row-up" -\bind "M-Down" "command-alternatives paragraph-move-down; inset-modify tabular move-row-down" +\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 "C-Right" "word-right" @@ -223,7 +229,7 @@ Format 1 \bind "C-Return" "newline-insert newline" \bind "C-S-Return" "newline-insert linebreak" \bind "C-S-L" "specialchar-insert ligature-break" -\bind "C-space" "command-alternatives space-insert protected ; math-space" +\bind "C-space" "command-alternatives math-space ; space-insert protected" \bind "nobreakspace" "space-insert protected" \bind "C-M-space" "space-insert normal" \bind "S-C-space" "space-insert thin" @@ -248,8 +254,9 @@ Format 1 \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 "S-C-KP_Prior" "buffer-move-previous" +\bind "S-C-KP_Next" "buffer-move-next" +\bind "M-h" "inset-select-all" \bind "C-KP_Insert" "copy" \bind "S-KP_Insert" "paste" \bind "S-KP_Delete" "cut"