]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
53b9cca7a5a88fb78c2a6d045d811d5aef94ee9c
[lyx.git] / lib / bind / menus.bind
1 # This file is part of
2 # ==================================================================
3 #
4 #                  LyX, the High Level Word Processor
5
6 #                 Copyright (C) 1995-2000 The LyX Team
7 #
8 # ==================================================================
9
10 # Key bindings for so-called "invisible" menus
11
12 #
13 # Insert menu
14 #
15
16 # These ones are not supported anymore.
17 #\bind "M-i minus"              "hyphenation-point-insert"
18 #\bind "M-i p"                  "dots-insert"
19 #\bind "M-i e"                  "end-of-sentence-period-insert"
20 #\bind "M-i q"                  "quote-insert"
21 #\bind "M-i apostrophe"         "quote-insert"
22 #\bind "M-i S-quotedbl"         "quote-insert"
23 #\bind "M-i s h"                        "hfill-insert"
24 #\bind "M-i s minus"            "hyphenation-point-insert"
25
26 #
27 # Font size menu
28 #
29
30 \bind "M-s t"                   "font-size tiny"
31 \bind "M-s S-S"                 "font-size footnotesize"
32 \bind "M-s s"                   "font-size small"
33 \bind "M-s n"                   "font-size normal"
34 \bind "M-s l"                   "font-size large"
35 \bind "M-s S-L"                 "font-size larger"
36 \bind "M-s h"                   "font-size huge"
37 \bind "M-s S-H"                 "font-size giant"
38
39 \bind "M-s 1"                   "font-size tiny"
40 \bind "M-s 2"                   "font-size scriptsize"
41 \bind "M-s 3"                   "font-size footnotesize"
42 \bind "M-s 4"                   "font-size small"
43 \bind "M-s 5"                   "font-size normal"
44 \bind "M-s 6"                   "font-size large"
45 \bind "M-s 7"                   "font-size larger"
46 \bind "M-s 8"                   "font-size largest"
47 \bind "M-s 9"                   "font-size huge"
48 \bind "M-s 0"                   "font-size giant"
49
50 \bind "M-s ~S-plus"             "font-size increase"
51 \bind "M-s minus"               "font-size decrease"
52
53
54 #
55 # Alignment menu
56 #
57
58 #bind "M-a l"                   "para-align left"       # Not yet implemented!
59 #bind "M-a r"                   "para-align right"      # Not yet implemented!
60 #bind "M-a c"                   "para-align center"     # Not yet implemented!
61 #bind "M-a b"                   "para-align block"      # Not yet implemented!
62 #bind "M-a f"                   "para-align block"      # Not yet implemented!
63 #bind "M-a d"                   "para-align default"    # Not yet implemented!
64
65
66 #
67 # Paragraph style menu
68 #
69
70 \bind "M-p ~S-0"                "layout Part" 
71 \bind "M-p ~S-1"                "layout Chapter" 
72 \bind "M-p ~S-2"                "layout Section" 
73 \bind "M-p ~S-3"                "layout Subsection"  
74 \bind "M-p ~S-4"                "layout Subsubsection"    
75 \bind "M-p ~S-5"                "layout Paragraph"        
76 \bind "M-p ~S-6"                "layout Subparagraph"
77 \bind "M-p ~S-asterisk ~S-0"    "layout Part*" 
78 \bind "M-p ~S-asterisk ~S-1"    "layout Chapter*" 
79 \bind "M-p ~S-asterisk ~S-2"    "layout Section*" 
80 \bind "M-p ~S-asterisk ~S-3"    "layout Subsection*"  
81 \bind "M-p ~S-asterisk ~S-4"    "layout Subsubsection*"    
82 \bind "M-p ~S-asterisk ~S-5"    "layout Paragraph*"        
83 \bind "M-p ~S-asterisk ~S-6"    "layout Subparagraph*"
84 \bind "M-p a"                   "layout Abstract"
85 \bind "M-p S-A"                 "layout Author"
86 \bind "M-p M-a"                 "layout Address"
87 \bind "M-p C-a"                 "layout Right_Address"
88 \bind "M-p b"                   "layout Itemize"        # bulleted list
89 \bind "M-p S-B"                 "layout Bibliography"
90 \bind "M-p c"                   "layout LyX-Code"
91 \bind "M-p S-C"                 "layout Comment"
92 \bind "M-p M-c"                 "layout Caption"
93 \bind "M-p d"                   "layout Description"
94 \bind "M-p S-D"                 "layout Date"
95 \bind "M-p e"                   "layout Enumerate"      # numbered list
96 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
97 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
98 \bind "M-p i"                   "layout Itemize"        # bulleted list
99 \bind "M-p l"                   "layout List"
100 \bind "M-p S-L"                 "layout LaTeX"
101 \bind "M-p n"                   "layout Enumerate"      # numbered list
102 \bind "M-p q"                   "layout Quote"
103 \bind "M-p S-Q"                 "layout Quotation"
104 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
105 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
106 \bind "M-p s"                   "layout Standard"
107 \bind "M-p t"                   "layout Title"
108 \bind "M-p space"               "drop-layouts-choice"
109 \bind "M-p v"                   "layout Verse"
110
111 \bind "M-p Left"                "depth-decrement"
112 \bind "M-p Right"               "depth-increment"
113
114 # These are kept for backwards compatibility (only make sense on US keyboard)
115 \bind "M-p S-at"                "layout Section*"       # M-p S-2
116 \bind "M-p S-dollar"            "layout Subsubsection*" # M-p S-4
117 \bind "M-p S-numbersign"        "layout Subsection*"    # M-p S-3
118
119
120 #
121 # Character style menu
122
123
124 \bind "M-c b"                   "font-bold"
125 \bind "M-c c"                   "font-noun"
126 \bind "M-c e"                   "font-emph"
127 \bind "M-c m"                   "math-mode"
128 \bind "M-c p"                   "font-code"
129 \bind "M-c r"                   "font-roman"
130 \bind "M-c s"                   "font-sans"
131 #\bind "M-c t"                  "ert-insert"
132 \bind "M-c u"                   "font-underline"
133
134 \bind "M-c Down"                "word-lowcase"
135 \bind "M-c Up"                  "word-upcase"
136 \bind "M-c Right"               "word-capitalize"
137
138 \bind "M-c space"               "font-default"                  
139
140
141 #
142 # Keyboard menu
143 #
144
145 \bind "M-k 1"                   "keymap-primary"
146 \bind "M-k 2"                   "keymap-secondary"
147 \bind "M-k o"                   "keymap-off"
148 \bind "M-k t"                   "keymap-toggle"
149 \bind "M-k x"                   "keymap-off"