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