2 # ==================================================================
4 # LyX, the High Level Word Processor
6 # Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
8 # ==================================================================
11 # This is the Mac flavour bind file for LyX/Mac 1.4.x, based on
12 # bindings found in the Mac world.
14 # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
15 # with every new install of LyX and your changes will be lost.
16 # Instead, customize a copy of this file placed in
30 \bind "C-n" "buffer-new"
31 \bind "C-S-N" "buffer-new-template"
32 \bind "C-o" "file-open"
33 \bind "C-r" "buffer-reload"
34 \bind "C-w" "buffer-close"
35 \bind "C-s" "buffer-write"
36 \bind "C-S-S" "buffer-write-as"
37 \bind "C-p" "dialog-show print"
38 \bind "C-d" "buffer-view dvi" # 'd' for dvi
39 \bind "C-t" "buffer-view pdf"
40 \bind "C-S-D" "buffer-update dvi" # 'd' for dvi
41 \bind "C-S-T" "buffer-update pdf" # (pdflatex; was "ps")
42 \bind "C-q" "lyx-quit"
43 \bind "M-Tab" "buffer-next"
44 \bind "M-S-BackTab" "buffer-previous"
46 \bind "C-b" "font-bold"
47 \bind "C-e" "font-emph"
48 \bind "C-k" "font-noun" # 'k' for capitals
49 \bind "C-u" "font-underline"
50 \bind "C-S-P" "font-code" # 'P' for program *****
51 \bind "C-m" "math-mode"
52 \bind "C-S-M" "math-display"
54 \bind "C-f" "dialog-show findreplace"
55 \bind "C-g" "error-next"
56 \bind "C-i" "next-inset-toggle" # 'i' for Inset
61 \bind "C-S-v" "clipboard-paste"
62 \bind "C-M-v" "primary-selection-paste"
67 \bind "C-a" "command-sequence buffer-begin ; buffer-end-select" # select all
69 \bind "C-S-E" "changes-track" # it's what MS Word uses
70 \bind "~S-M-quotedbl" "quote-insert single"
71 \bind "~S-C-quotedbl" "self-insert \""
72 \bind "C-minus" "hyphenation-point-insert"
73 \bind "M-C-Right" "depth-increment"
74 \bind "M-C-Left" "depth-decrement"
75 \bind "C-S-L" "ligature-break-insert"
76 \bind "C-l" "ert-insert" # 'l' for LaTeX
78 #bind "F1" "help" # Not yet implemented!
79 #bind "C-F1" "help-context" # Not yet implemented!
80 \bind "F2" "buffer-write"
81 \bind "F3" "file-open"
82 \bind "C-F4" "buffer-close"
83 \bind "F5" "screen-recenter"
84 \bind "M-F4" "lyx-quit"
85 \bind "F7" "dialog-show spellchecker"
86 \bind "S-F7" "thesaurus-entry"
88 \bind "M-x" "command-execute"
94 \bind "M-Right" "word-forward"
95 \bind "M-Left" "word-backward"
96 \bind "M-Up" "paragraph-up"
97 \bind "M-Down" "paragraph-down"
98 \bind "C-Up" "buffer-begin"
99 \bind "C-Down" "buffer-end"
100 \bind "C-Right" "line-end"
101 \bind "C-Left" "line-begin"
103 \bind "C-~S-greater" "label-goto"
104 \bind "C-~S-less" "bookmark-goto 0"
108 # Motion + select group
111 \bind "S-Right" "forward-select"
112 \bind "S-Left" "backward-select"
113 \bind "S-Up" "up-select"
114 \bind "S-Down" "down-select"
115 \bind "S-M-Right" "word-forward-select"
116 \bind "S-M-Left" "word-backward-select"
117 \bind "S-M-Up" "paragraph-up-select"
118 \bind "S-M-Down" "paragraph-down-select"
119 \bind "S-C-Left" "line-begin-select"
120 \bind "S-C-Right" "line-end-select"
121 \bind "S-Prior" "screen-up-select"
122 \bind "S-Next" "screen-down-select"
123 \bind "S-C-Up" "buffer-begin-select"
124 \bind "S-C-Down" "buffer-end-select"
125 \bind "C-Insert" "copy"
126 \bind "S-Insert" "paste"
127 \bind "S-Delete" "cut"
129 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
130 \bind "S-KP_Right" "forward-select"
131 \bind "S-KP_Left" "backward-select"
132 \bind "S-KP_Up" "up-select"
133 \bind "S-KP_Down" "down-select"
134 \bind "S-M-KP_Right" "word-forward-select"
135 \bind "S-M-KP_Left" "word-backward-select"
136 \bind "S-M-KP_Up" "paragraph-up-select"
137 \bind "S-M-KP_Down" "paragraph-down-select"
138 \bind "S-KP_Home" "line-begin-select"
139 \bind "S-KP_End" "line-end-select"
140 \bind "S-KP_Prior" "screen-up-select"
141 \bind "S-KP_Next" "screen-down-select"
142 \bind "S-C-KP_Home" "buffer-begin-select"
143 \bind "S-C-KP_End" "buffer-end-select"
144 \bind "S-C-KP_Prior" "buffer-begin-select"
145 \bind "S-C-KP_Next" "buffer-end-select"
146 \bind "C-KP_Insert" "copy"
147 \bind "S-KP_Insert" "paste"
148 \bind "S-KP_Delete" "cut"
154 \bind "C-~S-1" "bookmark-goto 1"
155 \bind "C-~S-2" "bookmark-goto 2"
156 \bind "C-~S-3" "bookmark-goto 3"
157 \bind "C-~S-4" "bookmark-goto 4"
158 \bind "C-~S-5" "bookmark-goto 5"
159 \bind "C-M-~S-1" "bookmark-save 1"
166 \bind "M-Delete" "word-delete-forward"
167 \bind "M-BackSpace" "word-delete-backward"
168 \bind "M-Return" "break-paragraph-keep-layout"
169 \bind "C-Return" "break-line"
170 \bind "C-k" "line-delete-forward"
171 \bind "M-space" "space-insert protected"
172 \bind "C-M-space" "space-insert normal"
173 \bind "S-M-space" "space-insert thin"
174 \bind "C-period" "end-of-sentence-period-insert"
175 \bind "M-period" "dots-insert"
176 \bind "Escape" "cancel"
177 \bind "C-M-Up" "paragraph-move-up"
178 \bind "C-M-Down" "paragraph-move-down"
179 #\bind "F9" "meta-prefix"
184 \bind "C-comma" "dialog-show prefs"
187 # Include menu and math bindings
189 \bind_file menus.bind
191 \bind_file latinkeys.bind
192 \bind_file cyrkeys.bind
193 \bind_file greekkeys.bind