File: menus.bind

package info (click to toggle)
lyx 0.12.0.final-0.1
  • links: PTS
  • area: contrib
  • in suites: hamm, slink
  • size: 9,136 kB
  • ctags: 7,588
  • sloc: cpp: 59,182; ansic: 3,977; perl: 2,994; makefile: 1,155; sh: 996; yacc: 755; tcl: 163; sed: 93
file content (293 lines) | stat: -rw-r--r-- 8,040 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
# This file is part of
# ==================================================================
#
#                  LyX, the High Level Word Processor
# 
#                 Copyright (C) 1995-1997 The LyX Team
#
# ==================================================================

# Key bindings for menus, both invisible and visible.

#
# Visible Menu access menu
#

\bind "F10 f"			"menu-open File"
\bind "F10 e"			"menu-open Edit"
\bind "F10 l"			"menu-open Layout"
\bind "F10 i"			"menu-open Insert"
\bind "F10 m"			"menu-open Math"
\bind "F10 o"			"menu-open Options"
\bind "F10 d"			"menu-open Documents"
\bind "F10 h"			"menu-open Help"


#
# File menu
#

\bind "M-f n"			"buffer-new"
\bind "M-f t"			"buffer-new-template"
\bind "M-f o"			"buffer-open"
\bind "M-f c"			"buffer-close"
\bind "M-f s"			"buffer-write"
\bind "M-f a"			"buffer-write-as"
\bind "M-f r"			"buffer-reload"
\bind "M-f d"			"buffer-view"
\bind "M-f v"			"buffer-view-ps"
\bind "M-f u"			"buffer-typeset"
\bind "M-f e"			"buffer-typeset-ps"
\bind "M-f p"			"buffer-print" 
\bind "M-f f"			"buffer-fax"
\bind "M-f m"			"buffer-export latex"
\bind "M-f l"			"buffer-export linuxdoc"
\bind "M-f i"			"buffer-export ascii"
\bind "M-f z"			"buffer-export custom"
\bind "M-f x"			"lyx-quit"
\bind "M-f space"		"menu-open File" 
#bind "M-f l"			"file-last"		# Not yet implemented.


#
# Edit menu
#

#bind "M-e b"			"table"			# Not yet implemented!
\bind "M-e c"			"cut"
\bind "M-e e"			"error-next"
\bind "M-e f"			"find-replace"
\bind "M-e k"			"line-delete-forward"
\bind "M-e m"			"mark-on"
\bind "M-e S-M"			"mark-off"
\bind "M-e n"			"note-next"
\bind "M-e o"			"copy"
\bind "M-e p"			"paste"
\bind "M-e r"			"redo"
\bind "M-e s"			"spellchecker"
\bind "M-e h"			"buffer-chktex"
\bind "M-e t"			"toc-view"
\bind "M-e u"			"undo"
\bind "M-e w"			"latex-view-log"
\bind "M-e space"		"menu-open Edit" 


#
# Layout menu
#

\bind "M-l c"			"layout-character"
\bind "M-l p"			"layout-paragraph"
\bind "M-l d"			"layout-document"
\bind "M-l a"			"layout-paper"
\bind "M-l q"			"layout-quotes" 
\bind "M-l l"			"layout-preamble" 
\bind "M-l e"			"font-emph" 
\bind "M-l n"			"font-noun" 
\bind "M-l b"			"font-bold" 
\bind "M-l t"			"tex-mode" 
\bind "M-l v"			"depth-next"
\bind "M-l space"		"menu-open Layout"  
\bind "M-l i"			"buffer-itemize-bullets-select"


#
# Insert menu
#

\bind "M-i g"			"figure-insert"
\bind "M-i b"			"table-insert"
\bind "M-i c"			"buffer-child-insert"
\bind "M-i f"			"footnote-insert"
\bind "M-i m"			"marginpar-insert"

\bind "M-i minus"		"hyphenation-point-insert"
\bind "M-i p"			"dots-insert"
\bind "M-i e"			"end-of-sentence-period-insert"
\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"		"hyphenation-point-insert"
\bind "M-i s b"			"protected-space-insert"
\bind "M-i s l"			"break-line"
\bind "M-i s p"			"dots-insert"
\bind "M-i s e"			"end-of-sentence-period-insert"
\bind "M-i s q"			"quote-insert"

\bind "M-i a"			"loa-insert"
\bind "M-i t c"			"toc-insert"
\bind "M-i t f"			"lof-insert"
\bind "M-i t t"			"lot-insert"
\bind "M-i t i"			"index-print"
\bind "M-i t b"			"bibtex-insert"
\bind "M-i t a"			"loa-insert"

\bind "M-i n"			"note-insert"
\bind "M-i l"			"label-insert"
\bind "M-i r"			"reference-insert"
\bind "M-i i"			"citation-insert"
\bind "M-i space"		"menu-open Insert"  



#
# Math menu
#

\bind "M-m space"		"menu-open Math" 

#
# Options menu
#

#bind "M-o f"			"screen-font-options"	# Not yet implemented!
#bind "M-o s"			"spellcheck-options"	# Not yet implemented!
#bind "M-o k"			"keyboard-options"	# Not yet implemented!
#bind "M-o l"			"latex-options"		# Not yet implemented!
\bind "M-o space"		"menu-open Options"  


#
# Documents menu
#
# These are now defined in cua or emacs bind files so their "standard"
# bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
#\bind "M-d p"			"buffer-previous"
#\bind "M-d space"		"menu-open Documents"


#
# Help menu
#

#bind "M-h i"			"help-introduction"	# Not yet implemented!
#bind "M-h t"			"help-tutorial"		# Not yet implemented!
#bind "M-h u"			"help-user-guide"	# Not yet implemented!
#bind "M-h r"			"help-reference-guide"	# Not yet implemented!
#bind "M-h h"			"help-how-do-i-"	# Not yet implemented!
#bind "M-h c"			"help-customization"	# Not yet implemented!
#bind "M-h s"			"help-special-tools"	# Not yet implemented!
#bind "M-h k"			"help-known-bugs"	# Not yet implemented!
#bind "M-h a"			"help-latex-config"	# Not yet implemented!
#bind "M-h o"			"help-copyright"	# Not yet implemented!
#bind "M-h e"			"help-credits"		# Not yet implemented!
#bind "M-h v"			"help-version"		# Not yet implemented!
\bind "M-h space"		"menu-open Help" 


#
# Font size menu
#

\bind "M-s t"			"font-size tiny"
\bind "M-s S-S"			"font-size smaller"
\bind "M-s s"			"font-size small"
\bind "M-s n"			"font-size normal"
\bind "M-s l"			"font-size large"
\bind "M-s S-L"			"font-size larger"
\bind "M-s h"			"font-size huge"
\bind "M-s S-H"			"font-size huger"

\bind "M-s 1"			"font-size tiny"
\bind "M-s 2"			"font-size smallest"
\bind "M-s 3"			"font-size smaller"
\bind "M-s 4"			"font-size small"
\bind "M-s 5"			"font-size normal"
\bind "M-s 6"			"font-size large"
\bind "M-s 7"			"font-size larger"
\bind "M-s 8"			"font-size largest"
\bind "M-s 9"			"font-size huge"
\bind "M-s 0"			"font-size huger"

\bind "M-s plus"		"font-size increase"
\bind "M-s minus"		"font-size decrease"


#
# Alignment 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!


#
# 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 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 b"			"layout Itemize"	# bulleted list
\bind "M-p S-B"			"layout Bibliography"
\bind "M-p c"			"layout LyX-Code"
\bind "M-p S-C"			"layout Comment"
\bind "M-p M-c"			"layout Caption"
\bind "M-p d"			"layout Description"
\bind "M-p S-D"			"layout Date"
\bind "M-p e"			"layout Enumerate"	# numbered list
\bind "M-p f"			"layout ShortFoilhead"	# Foils!!
\bind "M-p S-F"			"layout Foilhead"	# Foils!!
\bind "M-p i"			"layout Itemize"	# bulleted list
\bind "M-p l"			"layout List"
\bind "M-p S-L"			"layout LaTeX"
\bind "M-p n"			"layout Enumerate"	# numbered list
\bind "M-p q"			"layout Quote"
\bind "M-p S-Q"			"layout Quotation"
\bind "M-p r"			"layout ShortRotatefoilhead"	# Foils!!
\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"


#
# Character style menu
# 

\bind "M-c b"			"font-bold"
\bind "M-c c"			"font-noun"
\bind "M-c e"			"font-emph"
\bind "M-c m"			"math-mode"
\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 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"                  


#
# Keyboard menu
#

\bind "M-k 1"			"keymap-primary"
\bind "M-k 2"			"keymap-secondary"
\bind "M-k o"			"keymap-off"
\bind "M-k t"			"keymap-toggle"
\bind "M-k x"			"keymap-off"