]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
Angus latest patch + some tweaks
[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 # Layout menu
14 #
15
16 \bind "M-l c"                   "layout-character"
17 \bind "M-l p"                   "layout-paragraph"
18 \bind "M-l d"                   "layout-document"
19 \bind "M-l m"                   "font-emph" 
20 \bind "M-l n"                   "font-noun" 
21 \bind "M-l b"                   "font-bold" 
22 \bind "M-l t"                   "tex-mode" 
23 \bind "M-l v"                   "depth-next"
24 \bind "M-l l"                   "layout-preamble"
25 \bind "M-l s"                   "layout-save-default"
26 \bind "M-l space"               "menu-open Layout"  
27 \bind "M-l x"                   "appendix"
28
29 #
30 # Insert menu
31 #
32
33 # These ones are not supported anymore.
34 #\bind "M-i minus"              "hyphenation-point-insert"
35 #\bind "M-i p"                  "dots-insert"
36 #\bind "M-i e"                  "end-of-sentence-period-insert"
37 #\bind "M-i q"                  "quote-insert"
38 #\bind "M-i apostrophe"         "quote-insert"
39 #\bind "M-i S-quotedbl"         "quote-insert"
40 #\bind "M-i s h"                        "hfill-insert"
41 #\bind "M-i s minus"            "hyphenation-point-insert"
42
43 #
44 # Font size menu
45 #
46
47 \bind "M-s t"                   "font-size tiny"
48 \bind "M-s S-S"                 "font-size smaller"
49 \bind "M-s s"                   "font-size small"
50 \bind "M-s n"                   "font-size normal"
51 \bind "M-s l"                   "font-size large"
52 \bind "M-s S-L"                 "font-size larger"
53 \bind "M-s h"                   "font-size huge"
54 \bind "M-s S-H"                 "font-size huger"
55
56 \bind "M-s 1"                   "font-size tiny"
57 \bind "M-s 2"                   "font-size smallest"
58 \bind "M-s 3"                   "font-size smaller"
59 \bind "M-s 4"                   "font-size small"
60 \bind "M-s 5"                   "font-size normal"
61 \bind "M-s 6"                   "font-size large"
62 \bind "M-s 7"                   "font-size larger"
63 \bind "M-s 8"                   "font-size largest"
64 \bind "M-s 9"                   "font-size huge"
65 \bind "M-s 0"                   "font-size huger"
66
67 \bind "M-s plus"                "font-size increase"
68 \bind "M-s minus"               "font-size decrease"
69
70
71 #
72 # Alignment menu
73 #
74
75 #bind "M-a l"                   "para-align left"       # Not yet implemented!
76 #bind "M-a r"                   "para-align right"      # Not yet implemented!
77 #bind "M-a c"                   "para-align center"     # Not yet implemented!
78 #bind "M-a b"                   "para-align block"      # Not yet implemented!
79 #bind "M-a f"                   "para-align block"      # Not yet implemented!
80 #bind "M-a d"                   "para-align default"    # Not yet implemented!
81
82
83 #
84 # Paragraph style menu
85 #
86
87 \bind "M-p 1"                   "layout Chapter" 
88 \bind "M-p 2"                   "layout Section" 
89 \bind "M-p 3"                   "layout Subsection"  
90 \bind "M-p 4"                   "layout Subsubsection"    
91 \bind "M-p 5"                   "layout Paragraph"        
92 \bind "M-p 6"                   "layout Subparagraph"
93 \bind "M-p a"                   "layout Abstract"
94 \bind "M-p S-A"                 "layout Author"
95 \bind "M-p M-a"                 "layout Address"
96 \bind "M-p C-a"                 "layout RightAddress"
97 \bind "M-p b"                   "layout Itemize"        # bulleted list
98 \bind "M-p S-B"                 "layout Bibliography"
99 \bind "M-p c"                   "layout LyX-Code"
100 \bind "M-p S-C"                 "layout Comment"
101 \bind "M-p M-c"                 "layout Caption"
102 \bind "M-p d"                   "layout Description"
103 \bind "M-p S-D"                 "layout Date"
104 \bind "M-p e"                   "layout Enumerate"      # numbered list
105 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
106 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
107 \bind "M-p i"                   "layout Itemize"        # bulleted list
108 \bind "M-p l"                   "layout List"
109 \bind "M-p S-L"                 "layout LaTeX"
110 \bind "M-p n"                   "layout Enumerate"      # numbered list
111 \bind "M-p q"                   "layout Quote"
112 \bind "M-p S-Q"                 "layout Quotation"
113 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
114 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
115 \bind "M-p s"                   "layout Standard"
116 \bind "M-p t"                   "layout Title"
117 \bind "M-p x"                   "layout LaTeX"
118 \bind "M-p space"               "drop-layouts-choice"
119 \bind "M-p S-at"                "layout Section*"       # M-p S-2
120 \bind "M-p S-dollar"            "layout Subsubsection*" # M-p S-4
121 \bind "M-p S-numbersign"        "layout Subsection*"    # M-p S-3
122 \bind "M-p v"                   "layout Verse"
123
124 \bind "M-p Left"                "depth-decrement"
125 \bind "M-p Right"               "depth-increment"
126
127
128 #
129 # Character style menu
130
131
132 \bind "M-c b"                   "font-bold"
133 \bind "M-c c"                   "font-noun"
134 \bind "M-c e"                   "font-emph"
135 \bind "M-c m"                   "math-mode"
136 \bind "M-c p"                   "font-code"
137 \bind "M-c r"                   "font-roman"
138 \bind "M-c s"                   "font-sans"
139 \bind "M-c t"                   "tex-mode"
140 \bind "M-c u"                   "font-underline"
141
142 \bind "M-c Down"                "word-lowcase"
143 \bind "M-c Up"                  "word-upcase"
144 \bind "M-c Right"               "word-capitalize"
145
146 \bind "M-c space"               "font-default"                  
147
148
149 #
150 # Keyboard menu
151 #
152
153 \bind "M-k 1"                   "keymap-primary"
154 \bind "M-k 2"                   "keymap-secondary"
155 \bind "M-k o"                   "keymap-off"
156 \bind "M-k t"                   "keymap-toggle"
157 \bind "M-k x"                   "keymap-off"