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
31 # These are now defined in cua or emacs bind files so their "standard"
32 # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
34 #\bind "M-d p" "buffer-previous"
35 \bind "M-d space" "menu-open Documents"
39 \bind "C-n" "buffer-new"
40 \bind "C-S-N" "buffer-new-template"
41 \bind "C-o" "buffer-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" "buffer-print"
47 \bind "C-d" "buffer-view" # 'd' for dvi
48 \bind "C-t" "buffer-view-ps"
49 \bind "C-S-D" "buffer-typeset" # 'd' for dvi
50 \bind "C-S-T" "buffer-typeset-ps"
51 \bind "C-q" "lyx-quit"
53 \bind "C-b" "font-bold"
54 \bind "C-e" "font-emph"
55 \bind "C-k" "font-noun" # 'k' for capitals
56 \bind "C-l" "tex-mode" # 'l' for LaTeX
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" "find-replace"
64 \bind "C-g" "error-next"
65 \bind "C-i" "open-stuff" # 'i' for Inset
71 \bind "C-S-C" "layout-copy"
72 \bind "C-S-V" "layout-paste"
77 \bind "S-C-quotedbl" "quote-insert"
78 \bind "C-minus" "hyphenation-point-insert"
79 \bind "M-S-Right" "depth-increment"
80 \bind "M-S-Left" "depth-decrement"
81 \bind "C-S-space" "protected-space-insert"
83 #bind "F1" "help" # Not yet implemented!
84 #bind "C-F1" "help-context" # Not yet implemented!
85 \bind "F2" "buffer-write"
86 \bind "F3" "buffer-open"
87 \bind "C-F4" "buffer-close"
88 \bind "F5" "screen-recenter"
89 \bind "M-F4" "lyx-quit"
90 \bind "F7" "spellchecker"
92 \bind "M-x" "command-execute"
98 \bind "C-Right" "word-forward"
99 \bind "C-Left" "word-backward"
100 \bind "C-Up" "paragraph-up"
101 \bind "C-Down" "paragraph-down"
102 \bind "C-Home" "buffer-begin"
103 \bind "C-End" "buffer-end"
105 \bind "C-~S-greater" "reference-goto"
106 \bind "C-~S-less" "reference-back"
110 # Motion + select group
113 \bind "S-Right" "forward-select"
114 \bind "S-Left" "backward-select"
115 \bind "S-Up" "up-select"
116 \bind "S-Down" "down-select"
117 \bind "S-C-Right" "word-forward-select"
118 \bind "S-C-Left" "word-backward-select"
119 \bind "S-C-Up" "paragraph-up-select"
120 \bind "S-C-Down" "paragraph-down-select"
121 \bind "S-Home" "line-begin-select"
122 \bind "S-End" "line-end-select"
123 \bind "S-Prior" "screen-up-select"
124 \bind "S-Next" "screen-down-select"
125 \bind "S-C-Home" "buffer-begin-select"
126 \bind "S-C-End" "buffer-end-select"
127 \bind "C-Insert" "copy"
128 \bind "S-Insert" "paste"
129 \bind "S-Delete" "cut"
135 \bind "C-Delete" "word-delete-forward"
136 \bind "C-BackSpace" "word-delete-backward"
137 \bind "M-Return" "break-paragraph-keep-layout"
138 \bind "C-Return" "break-line"
139 \bind "C-space" "protected-space-insert"
140 \bind "C-period" "end-of-sentence-period-insert"
141 \bind "M-period" "dots-insert"
142 \bind "Escape" "cancel"
143 \bind "F9" "meta-prefix"
145 # Include menu and math bindings
147 \bind_file menus.bind