]> git.lyx.org Git - lyx.git/blobdiff - lib/bind/menus.bind
A slightly buggy lfun all-insets-toggle.
[lyx.git] / lib / bind / menus.bind
index aa96abf67f79cba3973a01db3e741efc909dc4ec..629552865434f9389690e24d2891df4422c26661 100644 (file)
@@ -1,11 +1,15 @@
-# This file is part of
-# ==================================================================
-#
-#                  LyX, the High Level Word Processor
-# 
-#                 Copyright (C) 1995-2000 The LyX Team
-#
-# ==================================================================
+# -*- text -*-
+
+# file menus.bind
+# This file is part of LyX, the document processor.
+# Licence details can be found in the file COPYING.
+
+# author Lars Gullik Bjønnes
+# author Jean-Marc Lasgouttes
+# author Michael Schmitt
+# author Jürgen Vigna
+
+# Full author contact details are available in file CREDITS.
 
 # Key bindings for so-called "invisible" menus
 
@@ -47,7 +51,7 @@
 \bind "M-s 9"                  "font-size huge"
 \bind "M-s 0"                  "font-size giant"
 
-\bind "M-s plus"               "font-size increase"
+\bind "M-s ~S-plus"            "font-size increase"
 \bind "M-s minus"              "font-size decrease"
 
 
 # Paragraph style menu
 #
 
-\bind "M-p 1"                  "layout Chapter" 
-\bind "M-p 2"                  "layout Section" 
-\bind "M-p 3"                  "layout Subsection"  
-\bind "M-p 4"                  "layout Subsubsection"    
-\bind "M-p 5"                  "layout Paragraph"        
-\bind "M-p 6"                  "layout Subparagraph"
+\bind "M-p ~S-0"               "layout Part"
+\bind "M-p ~S-1"               "layout Chapter"
+\bind "M-p ~S-2"               "layout Section"
+\bind "M-p ~S-3"               "layout Subsection"
+\bind "M-p ~S-4"               "layout Subsubsection"
+\bind "M-p ~S-5"               "layout Paragraph"
+\bind "M-p ~S-6"               "layout Subparagraph"
+\bind "M-p ~S-asterisk ~S-0"   "layout Part*"
+\bind "M-p ~S-asterisk ~S-1"   "layout Chapter*"
+\bind "M-p ~S-asterisk ~S-2"   "layout Section*"
+\bind "M-p ~S-asterisk ~S-3"   "layout Subsection*"
+\bind "M-p ~S-asterisk ~S-4"   "layout Subsubsection*"
+\bind "M-p ~S-asterisk ~S-5"   "layout Paragraph*"
+\bind "M-p ~S-asterisk ~S-6"   "layout Subparagraph*"
 \bind "M-p a"                  "layout Abstract"
 \bind "M-p S-A"                        "layout Author"
 \bind "M-p M-a"                        "layout Address"
-\bind "M-p C-a"                        "layout RightAddress"
+\bind "M-p C-a"                        "layout Right_Address"
 \bind "M-p b"                  "layout Itemize"        # bulleted list
 \bind "M-p S-B"                        "layout Bibliography"
 \bind "M-p c"                  "layout LyX-Code"
 \bind "M-p S-R"                        "layout Rotatefoilhead" # Foils!!
 \bind "M-p s"                  "layout Standard"
 \bind "M-p t"                  "layout Title"
-\bind "M-p x"                  "layout LaTeX"
 \bind "M-p space"              "drop-layouts-choice"
-\bind "M-p S-at"               "layout Section*"       # M-p S-2
-\bind "M-p S-dollar"           "layout Subsubsection*" # M-p S-4
-\bind "M-p S-numbersign"       "layout Subsection*"    # M-p S-3
 \bind "M-p v"                  "layout Verse"
 
 \bind "M-p Left"               "depth-decrement"
 \bind "M-p Right"              "depth-increment"
 
+# These are kept for backwards compatibility (only make sense on US keyboard)
+\bind "M-p S-at"               "layout Section*"       # M-p S-2
+\bind "M-p S-dollar"           "layout Subsubsection*" # M-p S-4
+\bind "M-p S-numbersign"       "layout Subsection*"    # M-p S-3
+
 
 #
 # Character style menu
-# 
+#
 
 \bind "M-c b"                  "font-bold"
 \bind "M-c c"                  "font-noun"
 \bind "M-c p"                  "font-code"
 \bind "M-c r"                  "font-roman"
 \bind "M-c s"                  "font-sans"
-\bind "M-c t"                  "tex-mode"
+#\bind "M-c t"                 "ert-insert"
 \bind "M-c u"                  "font-underline"
 
 \bind "M-c Down"               "word-lowcase"
 \bind "M-c Up"                 "word-upcase"
 \bind "M-c Right"              "word-capitalize"
 
-\bind "M-c space"              "font-default"                  
+\bind "M-c space"              "font-default"
 
 
 #