]> git.lyx.org Git - lyx.git/blob - lib/bind/menus.bind
EmbeddedObjects.lyx:
[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 1
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 # Paragraph style menu
66 #
67
68 \bind "M-p ~S-0"                "layout Part"
69 \bind "M-p ~S-1"                "layout Chapter"
70 \bind "M-p ~S-2"                "layout Section"
71 \bind "M-p ~S-3"                "layout Subsection"
72 \bind "M-p ~S-4"                "layout Subsubsection"
73 \bind "M-p ~S-5"                "layout Paragraph"
74 \bind "M-p ~S-6"                "layout Subparagraph"
75 \bind "M-p ~S-asterisk ~S-0"    "layout Part*"
76 \bind "M-p ~S-asterisk ~S-1"    "layout Chapter*"
77 \bind "M-p ~S-asterisk ~S-2"    "layout Section*"
78 \bind "M-p ~S-asterisk ~S-3"    "layout Subsection*"
79 \bind "M-p ~S-asterisk ~S-4"    "layout Subsubsection*"
80 \bind "M-p ~S-asterisk ~S-5"    "layout Paragraph*"
81 \bind "M-p ~S-asterisk ~S-6"    "layout Subparagraph*"
82 \bind "M-p a"                   "layout Abstract"
83 \bind "M-p S-A"                 "layout Author"
84 \bind "M-p M-a"                 "layout Address"
85 \bind "M-p C-a"                 "layout Right_Address"
86 \bind "M-p b"                   "layout Itemize"        # bulleted list
87 \bind "M-p S-B"                 "layout Bibliography"
88 \bind "M-p c"                   "layout LyX-Code"
89 \bind "M-p S-C"                 "layout Comment"
90 \bind "M-p d"                   "layout Description"
91 \bind "M-p S-D"                 "layout Date"
92 \bind "M-p e"                   "layout Enumerate"      # numbered list
93 \bind "M-p f"                   "layout ShortFoilhead"  # Foils!!
94 \bind "M-p S-F"                 "layout Foilhead"       # Foils!!
95 \bind "M-p i"                   "layout Itemize"        # bulleted list
96 \bind "M-p l"                   "layout List"
97 \bind "M-p S-L"                 "layout LaTeX"
98 \bind "M-p n"                   "layout Enumerate"      # numbered list
99 \bind "M-p q"                   "layout Quote"
100 \bind "M-p S-Q"                 "layout Quotation"
101 \bind "M-p r"                   "layout ShortRotatefoilhead"    # Foils!!
102 \bind "M-p S-R"                 "layout Rotatefoilhead" # Foils!!
103 \bind "M-p s"                   "layout Standard"
104 \bind "M-p t"                   "layout Title"
105 \bind "M-p space"               "drop-layouts-choice"
106 \bind "M-p v"                   "layout Verse"
107
108 \bind "M-p Left"                "outline-out"
109 \bind "M-p Right"               "outline-in"
110 \bind "M-p Up"                  "outline-up"
111 \bind "M-p Down"                "outline-down"
112
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-boldsymbol"
125 \bind "M-c c"                   "font-noun"
126 \bind "M-c d"                   "font-underunderline"
127 \bind "M-c e"                   "font-emph"
128 \bind "M-c m"                   "math-mode"
129 \bind "M-c o"                   "font-strikeout"
130 \bind "M-c r"                   "font-roman"
131 \bind "M-c s"                   "font-sans"
132 #\bind "M-c t"                  "ert-insert"
133 \bind "M-c u"                   "font-underline"
134 \bind "M-c w"                   "font-underwave"
135
136 \bind "M-c Down"                "word-lowcase"
137 \bind "M-c Up"                  "word-upcase"
138 \bind "M-c Right"               "word-capitalize"
139
140 \bind "M-c space"               "font-default"
141
142
143 #
144 # Keyboard menu
145 #
146
147 \bind "M-k 1"                   "keymap-primary"
148 \bind "M-k 2"                   "keymap-secondary"
149 \bind "M-k o"                   "keymap-off"
150 \bind "M-k t"                   "keymap-toggle"
151 \bind "M-k x"                   "keymap-off"