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"
53 \bind "C-b" "font-bold"
54 \bind "C-e" "font-emph"
55 # used below for line-delete-forward
56 #\bind "C-k" "font-noun" # 'k' for capitals
57 \bind "C-u" "font-underline"
58 \bind "C-S-P" "font-code" # 'P' for program
60 \bind "C-m" "math-mode"
61 \bind "C-S-M" "math-display"
63 \bind "C-f" "dialog-show findreplace"
64 \bind "C-g" "error-next"
65 \bind "C-i" "next-inset-toggle" # 'i' for Inset
74 \bind "C-S-E" "track-changes" # it's what MS Word uses
75 \bind "~S-C-quotedbl" "quote-insert single"
76 \bind "M-S-quotedbl" "self-insert \""
77 \bind "C-minus" "hyphenation-point-insert"
78 \bind "M-S-Right" "depth-increment"
79 \bind "M-S-Left" "depth-decrement"
80 \bind "C-S-L" "ligature-break-insert"
81 \bind "C-l" "ert-insert" # 'l' for LaTeX
83 #bind "F1" "help" # Not yet implemented!
84 #bind "C-F1" "help-context" # Not yet implemented!
85 \bind "F2" "buffer-write"
86 \bind "F3" "file-open"
87 \bind "C-F4" "buffer-close"
88 \bind "F5" "screen-recenter"
89 \bind "M-F4" "lyx-quit"
90 \bind "F7" "dialog-show spellchecker"
91 \bind "S-F7" "thesaurus-entry"
93 \bind "M-x" "command-execute"
99 \bind "C-Right" "word-forward"
100 \bind "C-Left" "word-backward"
101 \bind "C-Up" "paragraph-up"
102 \bind "C-Down" "paragraph-down"
103 \bind "C-Home" "buffer-begin"
104 \bind "C-End" "buffer-end"
106 \bind "C-~S-greater" "reference-goto"
107 \bind "C-~S-less" "bookmark-goto 0"
111 # Motion + select group
114 \bind "S-Right" "forward-select"
115 \bind "S-Left" "backward-select"
116 \bind "S-Up" "up-select"
117 \bind "S-Down" "down-select"
118 \bind "S-C-Right" "word-forward-select"
119 \bind "S-C-Left" "word-backward-select"
120 \bind "S-C-Up" "paragraph-up-select"
121 \bind "S-C-Down" "paragraph-down-select"
122 \bind "S-Home" "line-begin-select"
123 \bind "S-End" "line-end-select"
124 \bind "S-Prior" "screen-up-select"
125 \bind "S-Next" "screen-down-select"
126 \bind "S-C-Home" "buffer-begin-select"
127 \bind "S-C-End" "buffer-end-select"
128 \bind "C-Insert" "copy"
129 \bind "S-Insert" "paste"
130 \bind "S-Delete" "cut"
132 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
133 \bind "S-KP_Right" "forward-select"
134 \bind "S-KP_Left" "backward-select"
135 \bind "S-KP_Up" "up-select"
136 \bind "S-KP_Down" "down-select"
137 \bind "S-C-KP_Right" "word-forward-select"
138 \bind "S-C-KP_Left" "word-backward-select"
139 \bind "S-C-KP_Up" "paragraph-up-select"
140 \bind "S-C-KP_Down" "paragraph-down-select"
141 \bind "S-KP_Home" "line-begin-select"
142 \bind "S-KP_End" "line-end-select"
143 \bind "S-KP_Prior" "screen-up-select"
144 \bind "S-KP_Next" "screen-down-select"
145 \bind "S-C-KP_Home" "buffer-begin-select"
146 \bind "S-C-KP_End" "buffer-end-select"
147 \bind "S-C-KP_Prior" "buffer-begin-select"
148 \bind "S-C-KP_Next" "buffer-end-select"
149 \bind "C-KP_Insert" "copy"
150 \bind "S-KP_Insert" "paste"
151 \bind "S-KP_Delete" "cut"
157 \bind "C-~S-1" "bookmark-goto 1"
158 \bind "C-~S-2" "bookmark-goto 2"
159 \bind "C-~S-3" "bookmark-goto 3"
160 \bind "C-M-~S-1" "bookmark-save 1"
161 \bind "C-M-~S-2" "bookmark-save 2"
162 \bind "C-M-~S-3" "bookmark-save 3"
169 \bind "C-Delete" "word-delete-forward"
170 \bind "C-BackSpace" "word-delete-backward"
171 \bind "M-Return" "break-paragraph-keep-layout"
172 \bind "C-Return" "break-line"
173 \bind "C-k" "line-delete-forward"
174 \bind "C-space" "space-insert protected"
175 \bind "C-M-space" "space-insert normal"
176 \bind "S-C-space" "space-insert thin"
177 \bind "C-period" "end-of-sentence-period-insert"
178 \bind "M-period" "dots-insert"
179 \bind "Escape" "cancel"
180 \bind "F9" "meta-prefix"
182 # Include menu and math bindings
184 \bind_file menus.bind
186 \bind_file latinkeys.bind
187 \bind_file cyrkeys.bind
188 \bind_file greekkeys.bind