]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
PDF-form.lyx: some more info and few adaptions
[lyx.git] / lib / bind / menus.bind
1 # -*- text -*-
2
3 # file menus.bind
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author Lars Gullik Bjønnes
8 # author Jean-Marc Lasgouttes
9 # author Michael Gerz
10 # author Jürgen Vigna
11
12 # Full author contact details are available in file CREDITS.
13
14 # Key bindings for so-called "invisible" menus
15
16
17 #
18 # Font size menu
19 #
20
21 Format 2
22
23 \bind "M-s t"                   "font-size tiny"
24 \bind "M-s S-S"                 "font-size footnotesize"
25 \bind "M-s s"                   "font-size small"
26 \bind "M-s n"                   "font-size normal"
27 \bind "M-s l"                   "font-size large"
28 \bind "M-s S-L"                 "font-size larger"
29 \bind "M-s h"                   "font-size huge"
30 \bind "M-s S-H"                 "font-size giant"
31
32 \bind "M-s ~S-1"                "font-size tiny"
33 \bind "M-s ~S-2"                "font-size scriptsize"
34 \bind "M-s ~S-3"                "font-size footnotesize"
35 \bind "M-s ~S-4"                "font-size small"
36 \bind "M-s ~S-5"                "font-size normal"
37 \bind "M-s ~S-6"                "font-size large"
38 \bind "M-s ~S-7"                "font-size larger"
39 \bind "M-s ~S-8"                "font-size largest"
40 \bind "M-s ~S-9"                "font-size huge"
41 \bind "M-s ~S-0"                "font-size giant"
42
43 \bind "M-s ~S-plus"             "font-size increase"
44 \bind "M-s ~S-minus"            "font-size decrease"
45
46
47 #
48 # Paragraph menu
49 #
50
51 \bind "M-a l"                   "paragraph-params \align left"
52 \bind "M-a r"                   "paragraph-params \align right"
53 \bind "M-a c"                   "paragraph-params \align center"
54 # It's called Justified in the UI
55 \bind "M-a j"                   "paragraph-params \align block"
56 \bind "M-a e"                   "paragraph-params \align default"
57 \bind "M-a i"                   "paragraph-params \indent-toggle"
58 \bind "M-a s"                   "paragraph-params \paragraph_spacing single"
59 \bind "M-a o"                   "paragraph-params \paragraph_spacing onehalf"
60 \bind "M-a d"                   "paragraph-params \paragraph_spacing double"
61 \bind "M-a f"                   "paragraph-params \paragraph_spacing default"
62
63
64 #
65 # Arguments
66 #
67
68 \bind "M-a 1"                   "argument-insert 1"
69 \bind "M-a 2"                   "argument-insert 2"
70 \bind "M-a 3"                   "argument-insert 3"
71 \bind "M-a 4"                   "argument-insert 4"
72 \bind "M-a 5"                   "argument-insert 5"
73 \bind "M-a 6"                   "argument-insert 6"
74 \bind "M-a 7"                   "argument-insert 7"
75 \bind "M-a 8"                   "argument-insert 8"
76 \bind "M-a 9"                   "argument-insert 9"
77
78
79 #
80 # Paragraph style menu
81 #
82
83 \bind "M-p ~S-0"                "layout Part"
84 \bind "M-p ~S-1"                "layout Chapter"
85 \bind "M-p ~S-2"                "layout Section"
86 \bind "M-p ~S-3"                "layout Subsection"
87 \bind "M-p ~S-4"                "layout Subsubsection"
88 \bind "M-p ~S-5"                "layout Paragraph"
89 \bind "M-p ~S-6"                "layout Subparagraph"
90 \bind "M-p ~S-asterisk ~S-0"    "layout Part*"
91 \bind "M-p ~S-asterisk ~S-1"    "layout Chapter*"
92 \bind "M-p ~S-asterisk ~S-2"    "layout Section*"
93 \bind "M-p ~S-asterisk ~S-3"    "layout Subsection*"
94 \bind "M-p ~S-asterisk ~S-4"    "layout Subsubsection*"
95 \bind "M-p ~S-asterisk ~S-5"    "layout Paragraph*"
96 \bind "M-p ~S-asterisk ~S-6"    "layout Subparagraph*"
97 \bind "M-p a"                   "layout Abstract"
98 \bind "M-p S-A"                 "layout Author"
99 \bind "M-p M-a"                 "layout Address"
100 \bind "M-p C-a"                 "layout Right_Address"
101 \bind "M-p b"                   "layout Itemize"        # bulleted list
102 \bind "M-p S-B"                 "layout Bibliography"
103 \bind "M-p c"                   "layout LyX-Code"
104 \bind "M-p S-C"                 "layout Comment"
105 \bind "M-p d"                   "layout Description"
106 \bind "M-p S-D"                 "layout Date"
107 \bind "M-p e"                   "layout Enumerate"      # numbered list
108 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
109 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
110 \bind "M-p i"                   "layout Itemize"        # bulleted list
111 \bind "M-p l"                   "layout List"
112 \bind "M-p S-L"                 "layout LaTeX"
113 \bind "M-p n"                   "layout Enumerate"      # numbered list
114 \bind "M-p q"                   "layout Quote"
115 \bind "M-p S-Q"                 "layout Quotation"
116 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
117 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
118 \bind "M-p s"                   "layout Standard"
119 \bind "M-p t"                   "layout Title"
120 \bind "M-p space"               "drop-layouts-choice"
121 \bind "M-p v"                   "layout Verse"
122
123 \bind "M-p Left"                "outline-out"
124 \bind "M-p Right"               "outline-in"
125 \bind "M-p Up"                  "outline-up"
126 \bind "M-p Down"                "outline-down"
127
128 \bind "M-p Return"              "environment-split"
129 \bind "M-p S-Return"            "environment-split outer"
130
131
132 # These are kept for backwards compatibility (only make sense on US keyboard)
133 \bind "M-p S-at"                "layout Section*"       # M-p S-2
134 \bind "M-p S-dollar"            "layout Subsubsection*" # M-p S-4
135 \bind "M-p S-numbersign"        "layout Subsection*"    # M-p S-3
136
137
138 #
139 # Character style menu
140 #
141
142 \bind "M-c b"                   "font-boldsymbol"
143 \bind "M-c c"                   "font-noun"
144 \bind "M-c d"                   "font-underunderline"
145 \bind "M-c e"                   "font-emph"
146 \bind "M-c m"                   "math-mode"
147 \bind "M-c o"                   "font-strikeout"
148 \bind "M-c r"                   "font-roman"
149 \bind "M-c s"                   "font-sans"
150 #\bind "M-c t"                  "ert-insert"
151 \bind "M-c u"                   "font-underline"
152 \bind "M-c w"                   "font-underwave"
153
154 \bind "M-c Down"                "word-lowcase"
155 \bind "M-c Up"                  "word-upcase"
156 \bind "M-c Right"               "word-capitalize"
157
158 \bind "M-c space"               "font-default"
159
160
161 #
162 # Keyboard menu
163 #
164
165 \bind "M-k 1"                   "keymap-primary"
166 \bind "M-k 2"                   "keymap-secondary"
167 \bind "M-k o"                   "keymap-off"
168 \bind "M-k t"                   "keymap-toggle"
169 \bind "M-k x"                   "keymap-off"