4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
8 # author Lars Gullik Bjønnes
9 # author Jean-Marc Lasgouttes
10 # author Angus Leeming
12 # author Jürgen Spitzmüller
15 # author Andrew Zabolotny
17 # Full author contact details are available in file CREDITS.
19 # This is the CUA (Common User Access) flavour bind file, based on
20 # bindings found in the Windows, Mac and Motif world.
22 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
23 # with every new install of LyX and your changes will be lost.
24 # Instead, customize a copy of this file placed in
25 # ~/.lyx/bind/cua.bind
37 \bind "C-n" "buffer-new"
38 \bind "C-S-N" "buffer-new-template"
39 \bind "C-o" "file-open"
40 \bind "C-w" "buffer-close"
41 \bind "C-s" "buffer-write"
42 \bind "C-S-S" "buffer-write-as"
43 \bind "C-p" "dialog-show print"
44 \bind "C-d" "buffer-view dvi" # 'd' for dvi
45 \bind "C-t" "buffer-view ps"
46 \bind "C-M-t" "master-buffer-view ps"
47 \bind "C-M-d" "master-buffer-view dvi"
48 \bind "C-S-D" "buffer-update dvi" # 'd' for dvi
49 \bind "C-S-T" "buffer-update ps"
50 \bind "C-M-S-t" "master-buffer-update ps"
51 \bind "C-M-S-d" "master-buffer-update dvi"
52 \bind "C-q" "lyx-quit"
53 \bind "C-Next" "buffer-next"
54 \bind "C-Tab" "buffer-next"
55 \bind "C-Prior" "buffer-previous"
56 \bind "C-S-Tab" "buffer-previous"
58 \bind "C-b" "font-bold"
59 \bind "C-e" "font-emph"
60 # used below for line-delete-forward
61 #\bind "C-k" "font-noun" # 'k' for capitals
62 \bind "C-u" "font-underline"
63 \bind "C-S-P" "font-typewriter" # 'P' for Program
65 \bind "C-m" "math-mode"
66 \bind "C-S-M" "math-display"
68 \bind "C-f" "dialog-show findreplace"
69 \bind "C-g" "error-next"
70 \bind "C-i" "next-inset-toggle" # 'i' for Inset
75 \bind "C-S-v" "clipboard-paste"
76 \bind "C-M-v" "primary-selection-paste"
82 \bind "C-a" "command-sequence buffer-begin ; buffer-end-select" # select all
84 \bind "C-S-E" "changes-track" # it's what MS Word uses
85 \bind "~S-M-quotedbl" "quote-insert single"
86 \bind "~S-C-quotedbl" "self-insert \""
87 \bind "C-minus" "hyphenation-point-insert"
88 \bind "M-S-Right" "depth-increment"
89 \bind "M-S-Left" "depth-decrement"
90 \bind "C-S-L" "ligature-break-insert"
91 \bind "C-l" "ert-insert" # 'l' for LaTeX
93 #bind "F1" "help" # Not yet implemented!
94 #bind "C-F1" "help-context" # Not yet implemented!
95 \bind "F2" "buffer-write"
96 \bind "F3" "file-open"
97 \bind "C-F4" "buffer-close"
98 \bind "M-F4" "lyx-quit"
99 \bind "F5" "screen-recenter"
100 \bind "C-F6" "buffer-next"
101 \bind "C-S-F6" "buffer-previous"
102 \bind "F7" "dialog-show spellchecker"
103 \bind "S-F7" "thesaurus-entry"
105 \bind "M-x" "command-execute"
111 \bind "M-Up" "paragraph-move-up"
112 \bind "M-Down" "paragraph-move-down"
113 \bind "C-Right" "word-forward"
114 \bind "C-Left" "word-backward"
115 \bind "C-Up" "paragraph-up"
116 \bind "C-Down" "paragraph-down"
117 \bind "C-Home" "buffer-begin"
118 \bind "C-End" "buffer-end"
120 \bind "C-~S-greater" "label-goto"
121 \bind "C-~S-less" "bookmark-goto 0"
125 # Motion + select group
128 \bind "S-Right" "forward-select"
129 \bind "S-Left" "backward-select"
130 \bind "S-Up" "up-select"
131 \bind "S-Down" "down-select"
132 \bind "S-C-Right" "word-forward-select"
133 \bind "S-C-Left" "word-backward-select"
134 \bind "S-C-Up" "paragraph-up-select"
135 \bind "S-C-Down" "paragraph-down-select"
136 \bind "S-Home" "line-begin-select"
137 \bind "S-End" "line-end-select"
138 \bind "S-Prior" "screen-up-select"
139 \bind "S-Next" "screen-down-select"
140 \bind "S-C-Home" "buffer-begin-select"
141 \bind "S-C-End" "buffer-end-select"
142 \bind "C-Insert" "copy"
143 \bind "S-Insert" "paste"
144 \bind "S-Delete" "cut"
146 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
147 \bind "S-KP_Right" "forward-select"
148 \bind "S-KP_Left" "backward-select"
149 \bind "S-KP_Up" "up-select"
150 \bind "S-KP_Down" "down-select"
151 \bind "S-C-KP_Right" "word-forward-select"
152 \bind "S-C-KP_Left" "word-backward-select"
153 \bind "S-C-KP_Up" "paragraph-up-select"
154 \bind "S-C-KP_Down" "paragraph-down-select"
155 \bind "S-KP_Home" "line-begin-select"
156 \bind "S-KP_End" "line-end-select"
157 \bind "S-KP_Prior" "screen-up-select"
158 \bind "S-KP_Next" "screen-down-select"
159 \bind "S-C-KP_Home" "buffer-begin-select"
160 \bind "S-C-KP_End" "buffer-end-select"
161 \bind "S-C-KP_Prior" "buffer-begin-select"
162 \bind "S-C-KP_Next" "buffer-end-select"
163 \bind "C-KP_Insert" "copy"
164 \bind "S-KP_Insert" "paste"
165 \bind "S-KP_Delete" "cut"
171 \bind "C-~S-1" "bookmark-goto 1"
172 \bind "C-~S-2" "bookmark-goto 2"
173 \bind "C-~S-3" "bookmark-goto 3"
174 \bind "C-~S-4" "bookmark-goto 4"
175 \bind "C-~S-5" "bookmark-goto 5"
176 \bind "C-~S-6" "bookmark-goto 6"
177 \bind "C-~S-7" "bookmark-goto 7"
178 \bind "C-~S-8" "bookmark-goto 8"
179 \bind "C-~S-9" "bookmark-goto 9"
180 \bind "C-M-~S-1" "bookmark-save 1"
181 \bind "C-M-~S-2" "bookmark-save 2"
182 \bind "C-M-~S-3" "bookmark-save 3"
183 \bind "C-M-~S-4" "bookmark-save 4"
184 \bind "C-M-~S-5" "bookmark-save 5"
185 \bind "C-M-~S-6" "bookmark-save 6"
186 \bind "C-M-~S-7" "bookmark-save 7"
187 \bind "C-M-~S-8" "bookmark-save 8"
188 \bind "C-M-~S-9" "bookmark-save 9"
195 \bind "C-Delete" "word-delete-forward"
196 \bind "C-BackSpace" "word-delete-backward"
197 \bind "M-Return" "break-paragraph-keep-layout"
198 \bind "C-Return" "break-line"
199 \bind "C-k" "line-delete-forward"
200 \bind "C-space" "space-insert protected"
201 \bind "C-M-space" "space-insert normal"
202 \bind "S-C-space" "space-insert thin"
203 \bind "C-period" "end-of-sentence-period-insert"
204 \bind "M-period" "dots-insert"
205 \bind "Escape" "cancel"
206 \bind "F9" "meta-prefix"
208 # Include menu and math bindings
210 \bind_file menus.bind
212 \bind_file latinkeys.bind
213 \bind_file cyrkeys.bind
214 \bind_file greekkeys.bind