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
39 \bind "C-n" "buffer-new"
40 \bind "C-S-N" "buffer-new-template"
41 \bind "C-o" "file-open"
42 \bind "C-r" "buffer-reload"
43 \bind "C-w" "buffer-close"
44 \bind "C-s" "buffer-write"
45 \bind "C-S-S" "buffer-write-as"
46 \bind "C-p" "dialog-show print"
47 \bind "C-d" "buffer-view dvi" # 'd' for dvi
48 \bind "C-t" "buffer-view ps"
49 \bind "C-S-D" "buffer-update dvi" # 'd' for dvi
50 \bind "C-S-T" "buffer-update ps"
51 \bind "C-q" "lyx-quit"
52 \bind "C-Next" "buffer-next"
53 \bind "C-Prior" "buffer-previous"
55 \bind "C-b" "font-bold"
56 \bind "C-e" "font-emph"
57 # used below for line-delete-forward
58 #\bind "C-k" "font-noun" # 'k' for capitals
59 \bind "C-u" "font-underline"
60 \bind "C-S-P" "font-code" # 'P' for program
62 \bind "C-m" "math-mode"
63 \bind "C-S-M" "math-display"
65 \bind "C-f" "dialog-show findreplace"
66 \bind "C-g" "error-next"
67 \bind "C-i" "next-inset-toggle" # 'i' for Inset
72 \bind "C-M-v" "primary-selection-paste"
73 \bind "C-S-v" "primary-selection-paste paragraph"
78 \bind "C-S-E" "track-changes" # it's what MS Word uses
79 \bind "~S-M-quotedbl" "quote-insert single"
80 \bind "~S-C-quotedbl" "self-insert \""
81 \bind "C-minus" "hyphenation-point-insert"
82 \bind "M-S-Right" "depth-increment"
83 \bind "M-S-Left" "depth-decrement"
84 \bind "C-S-L" "ligature-break-insert"
85 \bind "C-l" "ert-insert" # 'l' for LaTeX
87 #bind "F1" "help" # Not yet implemented!
88 #bind "C-F1" "help-context" # Not yet implemented!
89 \bind "F2" "buffer-write"
90 \bind "F3" "file-open"
91 \bind "C-F4" "buffer-close"
92 \bind "M-F4" "lyx-quit"
93 \bind "F5" "screen-recenter"
94 \bind "C-F6" "buffer-next"
95 \bind "C-S-F6" "buffer-previous"
96 \bind "F7" "dialog-show spellchecker"
97 \bind "S-F7" "thesaurus-entry"
99 \bind "M-x" "command-execute"
105 \bind "C-Right" "word-forward"
106 \bind "C-Left" "word-backward"
107 \bind "C-Up" "paragraph-up"
108 \bind "C-Down" "paragraph-down"
109 \bind "C-Home" "buffer-begin"
110 \bind "C-End" "buffer-end"
112 \bind "C-~S-greater" "label-goto"
113 \bind "C-~S-less" "bookmark-goto 0"
117 # Motion + select group
120 \bind "S-Right" "forward-select"
121 \bind "S-Left" "backward-select"
122 \bind "S-Up" "up-select"
123 \bind "S-Down" "down-select"
124 \bind "S-C-Right" "word-forward-select"
125 \bind "S-C-Left" "word-backward-select"
126 \bind "S-C-Up" "paragraph-up-select"
127 \bind "S-C-Down" "paragraph-down-select"
128 \bind "S-Home" "line-begin-select"
129 \bind "S-End" "line-end-select"
130 \bind "S-Prior" "screen-up-select"
131 \bind "S-Next" "screen-down-select"
132 \bind "S-C-Home" "buffer-begin-select"
133 \bind "S-C-End" "buffer-end-select"
134 \bind "C-Insert" "copy"
135 \bind "S-Insert" "paste"
136 \bind "S-Delete" "cut"
138 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
139 \bind "S-KP_Right" "forward-select"
140 \bind "S-KP_Left" "backward-select"
141 \bind "S-KP_Up" "up-select"
142 \bind "S-KP_Down" "down-select"
143 \bind "S-C-KP_Right" "word-forward-select"
144 \bind "S-C-KP_Left" "word-backward-select"
145 \bind "S-C-KP_Up" "paragraph-up-select"
146 \bind "S-C-KP_Down" "paragraph-down-select"
147 \bind "S-KP_Home" "line-begin-select"
148 \bind "S-KP_End" "line-end-select"
149 \bind "S-KP_Prior" "screen-up-select"
150 \bind "S-KP_Next" "screen-down-select"
151 \bind "S-C-KP_Home" "buffer-begin-select"
152 \bind "S-C-KP_End" "buffer-end-select"
153 \bind "S-C-KP_Prior" "buffer-begin-select"
154 \bind "S-C-KP_Next" "buffer-end-select"
155 \bind "C-KP_Insert" "copy"
156 \bind "S-KP_Insert" "paste"
157 \bind "S-KP_Delete" "cut"
163 \bind "C-~S-1" "bookmark-goto 1"
164 \bind "C-~S-2" "bookmark-goto 2"
165 \bind "C-~S-3" "bookmark-goto 3"
166 \bind "C-~S-4" "bookmark-goto 4"
167 \bind "C-~S-5" "bookmark-goto 5"
168 \bind "C-M-~S-1" "bookmark-save 1"
169 \bind "C-M-~S-2" "bookmark-save 2"
170 \bind "C-M-~S-3" "bookmark-save 3"
171 \bind "C-M-~S-4" "bookmark-save 4"
172 \bind "C-M-~S-5" "bookmark-save 5"
179 \bind "C-Delete" "word-delete-forward"
180 \bind "C-BackSpace" "word-delete-backward"
181 \bind "M-Return" "break-paragraph-keep-layout"
182 \bind "C-Return" "break-line"
183 \bind "C-k" "line-delete-forward"
184 \bind "C-space" "space-insert protected"
185 \bind "C-M-space" "space-insert normal"
186 \bind "S-C-space" "space-insert thin"
187 \bind "C-period" "end-of-sentence-period-insert"
188 \bind "M-period" "dots-insert"
189 \bind "Escape" "cancel"
190 \bind "F9" "meta-prefix"
192 # Include menu and math bindings
194 \bind_file menus.bind
196 \bind_file latinkeys.bind
197 \bind_file cyrkeys.bind
198 \bind_file greekkeys.bind