X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fbind%2Fmenus.bind;h=82798f7117b38e00152027f0a009a9963f98dea7;hb=433de6f4618ef866a6f63579da861ed24b0f37e9;hp=bde398f6ceaa0c74c38ccc23502b9179471bdecb;hpb=61e164382152347f34207e1c020f6bff0eb33a6e;p=lyx.git diff --git a/lib/bind/menus.bind b/lib/bind/menus.bind index bde398f6ce..82798f7117 100644 --- a/lib/bind/menus.bind +++ b/lib/bind/menus.bind @@ -13,24 +13,13 @@ # Key bindings for so-called "invisible" menus -# -# Insert menu -# - -# These ones are not supported anymore. -#\bind "M-i minus" "specialchar-insert hyphenation-point" -#\bind "M-i p" "specialchar-insert dots" -#\bind "M-i e" "specialchar-insert end-of-sentence" -#\bind "M-i q" "quote-insert" -#\bind "M-i apostrophe" "quote-insert" -#\bind "M-i S-quotedbl" "quote-insert" -#\bind "M-i s h" "hfill-insert" -#\bind "M-i s minus" "specialchar-insert hyphenation-point" # # Font size menu # +Format 5 + \bind "M-s t" "font-size tiny" \bind "M-s S-S" "font-size footnotesize" \bind "M-s s" "font-size small" @@ -56,15 +45,36 @@ # -# Alignment menu +# Paragraph menu # -#bind "M-a l" "para-align left" # Not yet implemented! -#bind "M-a r" "para-align right" # Not yet implemented! -#bind "M-a c" "para-align center" # Not yet implemented! -#bind "M-a b" "para-align block" # Not yet implemented! -#bind "M-a f" "para-align block" # Not yet implemented! -#bind "M-a d" "para-align default" # Not yet implemented! +\bind "M-a l" "paragraph-params \align left" +\bind "M-a r" "paragraph-params \align right" +\bind "M-a c" "paragraph-params \align center" +# It's called Justified in the UI +\bind "M-a j" "paragraph-params \align block" +\bind "M-a e" "paragraph-params \align default" +\bind "M-a i" "paragraph-params \indent-toggle" +\bind "M-a s" "paragraph-params \paragraph_spacing single" +\bind "M-a o" "paragraph-params \paragraph_spacing onehalf" +\bind "M-a d" "paragraph-params \paragraph_spacing double" +\bind "M-a f" "paragraph-params \paragraph_spacing default" + + +# +# Arguments +# + +\bind "M-a 1" "argument-insert 1" +\bind "M-a 2" "argument-insert 2" +\bind "M-a 3" "argument-insert 3" +\bind "M-a 4" "argument-insert 4" +\bind "M-a 5" "argument-insert 5" +\bind "M-a 6" "argument-insert 6" +\bind "M-a 7" "argument-insert 7" +\bind "M-a 8" "argument-insert 8" +\bind "M-a 9" "argument-insert 9" +\bind "M-a 0" "argument-insert post:1" # @@ -111,8 +121,14 @@ \bind "M-p space" "drop-layouts-choice" \bind "M-p v" "layout Verse" -\bind "M-p Left" "depth-decrement" -\bind "M-p Right" "depth-increment" +\bind "M-p Left" "outline-out" +\bind "M-p Right" "outline-in" +\bind "M-p Up" "outline-up" +\bind "M-p Down" "outline-down" + +\bind "M-p Return" "command-alternatives environment-split ; environment-split previous" +\bind "M-p S-Return" "environment-split outer" + # These are kept for backwards compatibility (only make sense on US keyboard) \bind "M-p S-at" "layout Section*" # M-p S-2 @@ -124,14 +140,17 @@ # Character style menu # -\bind "M-c b" "font-bold" +\bind "M-c b" "font-boldsymbol" \bind "M-c c" "font-noun" +\bind "M-c d" "font-underunderline" \bind "M-c e" "font-emph" \bind "M-c m" "math-mode" +\bind "M-c o" "font-strikeout" \bind "M-c r" "font-roman" \bind "M-c s" "font-sans" #\bind "M-c t" "ert-insert" \bind "M-c u" "font-underline" +\bind "M-c w" "font-underwave" \bind "M-c Down" "word-lowcase" \bind "M-c Up" "word-upcase"