]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
dec163a9ee781e48f6a61b9057eef4af998c9fc5
[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-1997 The LyX Team
7 #
8 # ==================================================================
9
10 # Key bindings for menus, both invisible and visible.
11
12 #
13 # Visible Menu access menu
14 #
15
16 \bind "F10 f"                   "menu-open File"
17 \bind "F10 e"                   "menu-open Edit"
18 \bind "F10 l"                   "menu-open Layout"
19 \bind "F10 i"                   "menu-open Insert"
20 \bind "F10 m"                   "menu-open Math"
21 \bind "F10 o"                   "menu-open Options"
22 \bind "F10 d"                   "menu-open Documents"
23 \bind "F10 h"                   "menu-open Help"
24
25
26 #
27 # File menu
28 #
29
30 \bind "M-f n"                   "buffer-new"
31 \bind "M-f t"                   "buffer-new-template"
32 \bind "M-f o"                   "buffer-open"
33 \bind "M-f c"                   "buffer-close"
34 \bind "M-f s"                   "buffer-write"
35 \bind "M-f a"                   "buffer-write-as"
36 \bind "M-f r"                   "buffer-reload"
37 \bind "M-f d"                   "buffer-view dvi"
38 \bind "M-f w"                   "buffer-view ps"
39 \bind "M-f v"                   "buffer-update dvi"
40 \bind "M-f u"                   "buffer-update ps"
41 \bind "M-f p"                   "buffer-print" 
42 \bind "M-f f"                   "buffer-fax"
43 \bind "M-f i l"                 "buffer-import latex"
44 \bind "M-f i a"                 "buffer-import ascii"
45 \bind "M-f i p"                 "buffer-import asciiparagraph"
46 \bind "M-f i n"                 "buffer-import noweb"
47 \bind "M-f e l"                 "buffer-export latex"
48 \bind "M-f e p"                 "buffer-export postscript"
49 \bind "M-f e d"                 "buffer-export linuxdoc"
50 \bind "M-f e t"                 "buffer-export ascii"
51 \bind "M-f e h"                 "buffer-export html"
52 \bind "M-f e m"                 "buffer-export custom"
53 \bind "M-f x"                   "lyx-quit"
54 \bind "M-f space"               "menu-open File" 
55 #bind "M-f l"                   "file-last"             # Not yet implemented.
56
57 #
58 # Edit menu
59 #
60
61 #bind "M-e b"                   "table"                 # Not yet implemented!
62 \bind "M-e c"                   "cut"
63 \bind "M-e e"                   "error-next"
64 \bind "M-e f"                   "find-replace"
65 \bind "M-e k"                   "line-delete-forward"
66 \bind "M-e m"                   "mark-on"
67 \bind "M-e S-M"                 "mark-off"
68 \bind "M-e n"                   "note-next"
69 \bind "M-e o"                   "copy"
70 \bind "M-e p"                   "paste"
71 \bind "M-e r"                   "redo"
72 \bind "M-e s"                   "spellchecker"
73 \bind "M-e h"                   "buffer-chktex"
74 \bind "M-e t"                   "toc-view"
75 \bind "M-e u"                   "undo"
76 \bind "M-e w"                   "latex-view-log"
77 \bind "M-e space"               "menu-open Edit" 
78
79 #
80 # TOC menu
81 #
82
83 \bind "M-t"                     "menu-open TOC" 
84
85 #
86 # Refs menu
87 #
88
89 \bind "M-r"                     "menu-open Refs" 
90
91
92 #
93 # Layout menu
94 #
95
96 \bind "M-l c"                   "layout-character"
97 \bind "M-l p"                   "layout-paragraph"
98 \bind "M-l d"                   "layout-document"
99 \bind "M-l m"                   "font-emph" 
100 \bind "M-l n"                   "font-noun" 
101 \bind "M-l b"                   "font-bold" 
102 \bind "M-l t"                   "tex-mode" 
103 \bind "M-l v"                   "depth-next"
104 \bind "M-l l"                   "layout-preamble"
105 \bind "M-l s"                   "layout-save-default"
106 \bind "M-l space"               "menu-open Layout"  
107 \bind "M-l x"                   "appendix"
108
109 #
110 # Insert menu
111 #
112
113 \bind "M-i g"                   "figure-insert"
114 \bind "M-i b"                   "dialog-tabular-insert"
115 \bind "M-i c"                   "buffer-child-insert"
116 \bind "M-i a l"                 "file-insert-ascii line"         
117 \bind "M-i a p"                 "file-insert-ascii paragraph"
118 \bind "M-i x"                   "file-insert"
119 \bind "M-i f"                   "footnote-insert"
120 \bind "M-i m"                   "marginpar-insert"
121
122 # PREVIOUS PATCH
123 \bind "M-i o g"                 "buffer-float-insert figure" 
124 \bind "M-i o t"                 "buffer-float-insert table"
125 \bind "M-i o w"                 "buffer-float-insert wide-fig"
126 \bind "M-i o d"                 "buffer-float-insert wide-tab"
127 \bind "M-i o a"                 "buffer-float-insert algorithm"
128
129 \bind "M-i t c"                 "toc-insert"
130 \bind "M-i t f"                 "lof-insert"
131 \bind "M-i t t"                 "lot-insert"
132 \bind "M-i t i"                 "index-print"
133 \bind "M-i t b"                 "bibtex-insert"
134 \bind "M-i t a"                 "loa-insert"
135
136 \bind "M-i minus"               "hyphenation-point-insert"
137 \bind "M-i p"                   "dots-insert"
138 \bind "M-i e"                   "end-of-sentence-period-insert"
139 \bind "M-i q"                   "quote-insert"
140 \bind "M-i apostrophe"          "quote-insert"
141 \bind "M-i S-quotedbl"          "quote-insert"
142 \bind "M-i s h"                 "hfill-insert"
143 # NOT IN MENU. (HIDDEN TO LEARNER)
144 \bind "M-i s minus"             "hyphenation-point-insert"
145 \bind "M-i s b"                 "protected-space-insert"
146 \bind "M-i s l"                 "break-line"
147 \bind "M-i s i"                 "dots-insert"
148 \bind "M-i s e"                 "end-of-sentence-period-insert"
149 \bind "M-i s q"                 "quote-insert"
150 \bind "M-i s m"                 "menu-separator-insert"
151 \bind "M-i n"                   "note-insert"
152 \bind "M-i l"                   "label-insert"
153 \bind "M-i r"                   "reference-insert"
154 \bind "M-i i"                   "citation-insert"
155 \bind "M-i d"                   "index-insert"
156 \bind "M-i w"                   "index-insert-last"
157 \bind "M-i u"                   "url-insert"
158 \bind "M-i space"               "menu-open Insert"  
159
160
161
162 #
163 # Math menu
164 #
165
166 \bind "M-m space"               "menu-open Math" 
167
168 #
169 # Options menu
170 #
171
172 #bind "M-o f"                   "screen-font-options"   # Not yet implemented!
173 #bind "M-o s"                   "spellcheck-options"    # Not yet implemented!
174 #bind "M-o k"                   "keyboard-options"      # Not yet implemented!
175 #bind "M-o l"                   "latex-options"         # Not yet implemented!
176 \bind "M-o space"               "menu-open Options"  
177
178
179 #
180 # Documents menu
181 #
182 # These are now defined in cua or emacs bind files so their "standard"
183 # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
184 #\bind "M-d p"                  "buffer-previous"
185 #\bind "M-d space"              "menu-open Documents"
186
187
188 #
189 # Help menu
190 #
191
192 #bind "M-h i"                   "help-introduction"     # Not yet implemented!
193 #bind "M-h t"                   "help-tutorial"         # Not yet implemented!
194 #bind "M-h u"                   "help-user-guide"       # Not yet implemented!
195 #bind "M-h r"                   "help-reference-guide"  # Not yet implemented!
196 #bind "M-h h"                   "help-how-do-i-"        # Not yet implemented!
197 #bind "M-h c"                   "help-customization"    # Not yet implemented!
198 #bind "M-h s"                   "help-special-tools"    # Not yet implemented!
199 #bind "M-h k"                   "help-known-bugs"       # Not yet implemented!
200 #bind "M-h a"                   "help-latex-config"     # Not yet implemented!
201 #bind "M-h o"                   "help-copyright"        # Not yet implemented!
202 #bind "M-h e"                   "help-credits"          # Not yet implemented!
203 #bind "M-h v"                   "help-version"          # Not yet implemented!
204 \bind "M-h space"               "menu-open Help" 
205
206
207 #
208 # Font size menu
209 #
210
211 \bind "M-s t"                   "font-size tiny"
212 \bind "M-s S-S"                 "font-size smaller"
213 \bind "M-s s"                   "font-size small"
214 \bind "M-s n"                   "font-size normal"
215 \bind "M-s l"                   "font-size large"
216 \bind "M-s S-L"                 "font-size larger"
217 \bind "M-s h"                   "font-size huge"
218 \bind "M-s S-H"                 "font-size huger"
219
220 \bind "M-s 1"                   "font-size tiny"
221 \bind "M-s 2"                   "font-size smallest"
222 \bind "M-s 3"                   "font-size smaller"
223 \bind "M-s 4"                   "font-size small"
224 \bind "M-s 5"                   "font-size normal"
225 \bind "M-s 6"                   "font-size large"
226 \bind "M-s 7"                   "font-size larger"
227 \bind "M-s 8"                   "font-size largest"
228 \bind "M-s 9"                   "font-size huge"
229 \bind "M-s 0"                   "font-size huger"
230
231 \bind "M-s plus"                "font-size increase"
232 \bind "M-s minus"               "font-size decrease"
233
234
235 #
236 # Alignment menu
237 #
238
239 #bind "M-a l"                   "para-align left"       # Not yet implemented!
240 #bind "M-a r"                   "para-align right"      # Not yet implemented!
241 #bind "M-a c"                   "para-align center"     # Not yet implemented!
242 #bind "M-a b"                   "para-align block"      # Not yet implemented!
243 #bind "M-a f"                   "para-align block"      # Not yet implemented!
244 #bind "M-a d"                   "para-align default"    # Not yet implemented!
245
246
247 #
248 # Paragraph style menu
249 #
250
251 \bind "M-p 1"                   "layout Chapter" 
252 \bind "M-p 2"                   "layout Section" 
253 \bind "M-p 3"                   "layout Subsection"  
254 \bind "M-p 4"                   "layout Subsubsection"    
255 \bind "M-p 5"                   "layout Paragraph"        
256 \bind "M-p 6"                   "layout Subparagraph"
257 \bind "M-p a"                   "layout Abstract"
258 \bind "M-p S-A"                 "layout Author"
259 \bind "M-p M-a"                 "layout Address"
260 \bind "M-p C-a"                 "layout RightAddress"
261 \bind "M-p b"                   "layout Itemize"        # bulleted list
262 \bind "M-p S-B"                 "layout Bibliography"
263 \bind "M-p c"                   "layout LyX-Code"
264 \bind "M-p S-C"                 "layout Comment"
265 \bind "M-p M-c"                 "layout Caption"
266 \bind "M-p d"                   "layout Description"
267 \bind "M-p S-D"                 "layout Date"
268 \bind "M-p e"                   "layout Enumerate"      # numbered list
269 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
270 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
271 \bind "M-p i"                   "layout Itemize"        # bulleted list
272 \bind "M-p l"                   "layout List"
273 \bind "M-p S-L"                 "layout LaTeX"
274 \bind "M-p n"                   "layout Enumerate"      # numbered list
275 \bind "M-p q"                   "layout Quote"
276 \bind "M-p S-Q"                 "layout Quotation"
277 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
278 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
279 \bind "M-p s"                   "layout Standard"
280 \bind "M-p t"                   "layout Title"
281 \bind "M-p x"                   "layout LaTeX"
282 \bind "M-p space"               "drop-layouts-choice"
283 \bind "M-p S-at"                "layout Section*"       # M-p S-2
284 \bind "M-p S-dollar"            "layout Subsubsection*" # M-p S-4
285 \bind "M-p S-numbersign"        "layout Subsection*"    # M-p S-3
286 \bind "M-p v"                   "layout Verse"
287
288 \bind "M-p Left"                "depth-decrement"
289 \bind "M-p Right"               "depth-increment"
290
291
292 #
293 # Character style menu
294
295
296 \bind "M-c b"                   "font-bold"
297 \bind "M-c c"                   "font-noun"
298 \bind "M-c e"                   "font-emph"
299 \bind "M-c m"                   "math-mode"
300 \bind "M-c p"                   "font-code"
301 \bind "M-c r"                   "font-roman"
302 \bind "M-c s"                   "font-sans"
303 \bind "M-c t"                   "tex-mode"
304 \bind "M-c u"                   "font-underline"
305
306 \bind "M-c Down"                "word-lowcase"
307 \bind "M-c Up"                  "word-upcase"
308 \bind "M-c Right"               "word-capitalize"
309
310 \bind "M-c space"               "font-default"                  
311
312
313 #
314 # Keyboard menu
315 #
316
317 \bind "M-k 1"                   "keymap-primary"
318 \bind "M-k 2"                   "keymap-secondary"
319 \bind "M-k o"                   "keymap-off"
320 \bind "M-k t"                   "keymap-toggle"
321 \bind "M-k x"                   "keymap-off"