File: menus.bind

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (155 lines) | stat: -rw-r--r-- 5,978 bytes parent folder | download | duplicates (3)
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
# -*- text -*-

# file sk/menus.bind
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Lars Gullik Bjønnes
# author Jean-Marc Lasgouttes
# author Michael Gerz
# author Jürgen Vigna
# author Kornel Benko

# Full author contact details are available in file CREDITS.

# Key bindings for so-called "invisible" menus
# Adapted to the slovak internationalisation

# Toto je slovenská verzia súboru /usr/local/share/lyx/bind/menus.bind.
# Je myslená pre tých, ktorí používajú slovenské UI pre funkcie v menu.
# Slovenské verzia je nutná, lebo niektoré niektoré skratky sa neznášajú
# so slovenskou ponukou.
#
# Napr. je pre ponuku 'Súbor' teraz skratka ALT-S.
#
# Bývalé skratky ktoré začńali s ALT-S, začínajú teraz s ALT-F.
#

Format 5

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

\bind "M-f ~S-1"                "font-size tiny"
\bind "M-f ~S-2"                "font-size scriptsize"
\bind "M-f ~S-3"                "font-size footnotesize"
\bind "M-f ~S-4"                "font-size small"
\bind "M-f ~S-5"                "font-size normal"
\bind "M-f ~S-6"                "font-size large"
\bind "M-f ~S-7"                "font-size larger"
\bind "M-f ~S-8"                "font-size largest"
\bind "M-f ~S-9"                "font-size huge"
\bind "M-f ~S-0"                "font-size giant"

\bind "M-f ~S-plus"             "font-size increase"
\bind "M-f ~S-minus"            "font-size decrease"

#
# Paragraph menu
#

# We are using here "M-o" as a prefix, so unbind the following
\unbind "M-o" "inset-settings"

\bind "C-M-i" "inset-settings"
#\bind "M-o l"                   "paragraph-params \align left"
#\bind "M-o r"                   "paragraph-params \align right"
#\bind "M-o c"                   "paragraph-params \align center"
# It's called Justified in the UI
\bind "M-o j"                   "paragraph-params \align block"
#\bind "M-o e"                   "paragraph-params \align default"
#\bind "M-o i"                   "paragraph-params \indent-toggle"
\bind "M-o s"                   "paragraph-params \paragraph_spacing single"

#
# Arguments
#

\bind "M-a 1"                   "argument-insert 1"
\bind "M-a 2"                   "argument-insert 2"
\bind "M-a 3"                   "argument-insert 3"
\bind "M-a 4"                   "argument-insert 4"
\bind "M-a 5"                   "argument-insert 5"
\bind "M-a 6"                   "argument-insert 6"
\bind "M-a 7"                   "argument-insert 7"
\bind "M-a 8"                   "argument-insert 8"
\bind "M-a 9"                   "argument-insert 9"
\bind "M-a 0"                   "argument-insert post:1"

#
# Paragraph style menu
#

\bind "M-o ~S-0"                "layout Part"
\bind "M-o ~S-1"                "layout Chapter"
\bind "M-o ~S-2"                "layout Section"
\bind "M-o ~S-3"                "layout Subsection"
\bind "M-o ~S-4"                "layout Subsubsection"
\bind "M-o ~S-5"                "layout Paragraph"
\bind "M-o ~S-6"                "layout Subparagraph"
\bind "M-o ~S-9"                "layout Standard"
\bind "M-o ~S-asterisk ~S-0"    "layout Part*"
\bind "M-o ~S-asterisk ~S-1"    "layout Chapter*"
\bind "M-o ~S-asterisk ~S-2"    "layout Section*"
\bind "M-o ~S-asterisk ~S-3"    "layout Subsection*"
\bind "M-o ~S-asterisk ~S-4"    "layout Subsubsection*"
\bind "M-o ~S-asterisk ~S-5"    "layout Paragraph*"
\bind "M-o ~S-asterisk ~S-6"    "layout Subparagraph*"
\bind "M-o a"                   "layout Abstract"
\bind "M-o S-A"                 "layout Author"
\bind "M-o M-a"                 "layout Address"
\bind "M-o C-a"                 "layout Right_Address"
\bind "M-o b"                   "layout Itemize"        # bulleted list
\bind "M-o S-B"                 "layout Bibliography"
\bind "M-o c"                   "layout LyX-Code"
\bind "M-o S-C"                 "layout Comment"
\bind "M-o d"                   "layout Description"
\bind "M-o S-D"                 "layout Date"
\bind "M-o e"                   "layout Enumerate"      # numbered list
\bind "M-o f"                   "layout ShortFoilhead"  # Foils!!
\bind "M-o S-F"                 "layout Foilhead"       # Foils!!
\bind "M-o i"                   "layout Itemize"        # bulleted list
\bind "M-o l"                   "layout Labeling"
\bind "M-o S-L"                 "layout LaTeX"
\bind "M-o n"                   "layout Enumerate"      # numbered list
\bind "M-o q"                   "layout Quote"
\bind "M-o S-Q"                 "layout Quotation"
\bind "M-o r"                   "layout ShortRotatefoilhead"    # Foils!!
\bind "M-o S-R"                 "layout Rotatefoilhead" # Foils!!
\bind "M-o t"                   "layout Title"
\bind "M-o space"               "drop-layouts-choice"
\bind "M-o v"                   "layout Verse"

\bind "M-o Left"                "outline-out"
\bind "M-o Right"               "outline-in"
\bind "M-o Up"                  "outline-up"
\bind "M-o Down"                "outline-down"

\bind "M-o S-Return"            "environment-split outer"

#
# Character style menu
#

\bind "M-c n"                   "font-noun"
\bind "M-c e"                   "font-emph"
\bind "M-c b"                   "font-bold"
\bind "M-c r"                   "font-roman"
\bind "M-c s"                   "font-sans"
\bind "M-c f"                   "font-frak"
\bind "M-c i"                   "font-ital"
\bind "M-c t"                   "font-typewriter"
\bind "M-c space"               "font-default"

#
# Clashes
#

\unbind "M-u" "word-upcase partial"
\unbind "M-d" "word-delete-forward confirm"