2 # ==================================================================
4 # LyX, the High Level Word Processor
6 # Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
8 # ==================================================================
11 # This is the CUA (Common User Access) flavour bind file, based on
12 # bindings found in the Windows, Mac and Motif world.
15 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
16 # with every new install of LyX and your changes will be lost.
17 # Instead, customize a copy of this file placed in
18 # ~/.lyx/bind/cua.bind
32 \bind "C-n" "buffer-new"
33 \bind "C-S-N" "buffer-new-template"
34 \bind "C-o" "file-open"
35 \bind "C-r" "buffer-reload"
36 \bind "C-w" "buffer-close"
37 \bind "C-s" "buffer-write"
38 \bind "C-S-S" "buffer-write-as"
39 \bind "C-p" "dialog-show print"
40 \bind "C-d" "buffer-view dvi" # 'd' for dvi
41 \bind "C-t" "buffer-view ps"
42 \bind "C-S-D" "buffer-update dvi" # 'd' for dvi
43 \bind "C-S-T" "buffer-update ps"
44 \bind "C-q" "lyx-quit"
46 \bind "C-b" "font-bold"
47 \bind "C-e" "font-emph"
48 # used below for line-delete-forward
49 #\bind "C-k" "font-noun" # 'k' for capitals
50 \bind "C-u" "font-underline"
51 \bind "C-S-P" "font-code" # 'P' for program
53 \bind "C-m" "math-mode"
54 \bind "C-S-M" "math-display"
56 \bind "C-f" "dialog-show findreplace"
57 \bind "C-g" "error-next"
58 \bind "C-i" "inset-toggle" # 'i' for Inset
67 \bind "C-S-E" "track-changes" # it's what MS Word uses
68 \bind "~S-C-quotedbl" "self-insert \""
69 \bind "C-minus" "hyphenation-point-insert"
70 \bind "M-S-Right" "depth-increment"
71 \bind "M-S-Left" "depth-decrement"
72 \bind "C-S-L" "ligature-break-insert"
73 \bind "C-l" "ert-insert" # 'l' for LaTeX
75 #bind "F1" "help" # Not yet implemented!
76 #bind "C-F1" "help-context" # Not yet implemented!
77 \bind "F2" "buffer-write"
78 \bind "F3" "file-open"
79 \bind "C-F4" "buffer-close"
80 \bind "F5" "screen-recenter"
81 \bind "M-F4" "lyx-quit"
82 \bind "F7" "dialog-show spellchecker"
83 \bind "S-F7" "thesaurus-entry"
85 \bind "M-x" "command-execute"
91 \bind "C-Right" "word-forward"
92 \bind "C-Left" "word-backward"
93 \bind "C-Up" "paragraph-up"
94 \bind "C-Down" "paragraph-down"
95 \bind "C-Home" "buffer-begin"
96 \bind "C-End" "buffer-end"
98 \bind "C-~S-greater" "reference-goto"
99 \bind "C-~S-less" "bookmark-goto 0"
103 # Motion + select group
106 \bind "S-Right" "forward-select"
107 \bind "S-Left" "backward-select"
108 \bind "S-Up" "up-select"
109 \bind "S-Down" "down-select"
110 \bind "S-C-Right" "word-forward-select"
111 \bind "S-C-Left" "word-backward-select"
112 \bind "S-C-Up" "paragraph-up-select"
113 \bind "S-C-Down" "paragraph-down-select"
114 \bind "S-Home" "line-begin-select"
115 \bind "S-End" "line-end-select"
116 \bind "S-Prior" "screen-up-select"
117 \bind "S-Next" "screen-down-select"
118 \bind "S-C-Home" "buffer-begin-select"
119 \bind "S-C-End" "buffer-end-select"
120 \bind "C-Insert" "copy"
121 \bind "S-Insert" "paste"
122 \bind "S-Delete" "cut"
124 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
125 \bind "S-KP_Right" "forward-select"
126 \bind "S-KP_Left" "backward-select"
127 \bind "S-KP_Up" "up-select"
128 \bind "S-KP_Down" "down-select"
129 \bind "S-C-KP_Right" "word-forward-select"
130 \bind "S-C-KP_Left" "word-backward-select"
131 \bind "S-C-KP_Up" "paragraph-up-select"
132 \bind "S-C-KP_Down" "paragraph-down-select"
133 \bind "S-KP_Home" "line-begin-select"
134 \bind "S-KP_End" "line-end-select"
135 \bind "S-KP_Prior" "screen-up-select"
136 \bind "S-KP_Next" "screen-down-select"
137 \bind "S-C-KP_Home" "buffer-begin-select"
138 \bind "S-C-KP_End" "buffer-end-select"
139 \bind "S-C-KP_Prior" "buffer-begin-select"
140 \bind "S-C-KP_Next" "buffer-end-select"
141 \bind "C-KP_Insert" "copy"
142 \bind "S-KP_Insert" "paste"
143 \bind "S-KP_Delete" "cut"
149 \bind "C-~S-1" "bookmark-goto 1"
150 \bind "C-~S-2" "bookmark-goto 2"
151 \bind "C-~S-3" "bookmark-goto 3"
152 \bind "C-M-~S-1" "bookmark-save 1"
153 \bind "C-M-~S-2" "bookmark-save 2"
154 \bind "C-M-~S-3" "bookmark-save 3"
161 \bind "C-Delete" "word-delete-forward"
162 \bind "C-BackSpace" "word-delete-backward"
163 \bind "M-Return" "break-paragraph-keep-layout"
164 \bind "C-Return" "break-line"
165 \bind "C-k" "line-delete-forward"
166 \bind "C-space" "space-insert protected"
167 \bind "C-M-space" "space-insert normal"
168 \bind "S-C-space" "space-insert thin"
169 \bind "C-period" "end-of-sentence-period-insert"
170 \bind "M-period" "dots-insert"
171 \bind "Escape" "cancel"
172 \bind "F9" "meta-prefix"
174 # Include menu and math bindings
176 \bind_file menus.bind
178 \bind_file latinkeys.bind
179 \bind_file cyrkeys.bind
180 \bind_file greekkeys.bind