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 "C-grave" "buffer-next"
44 \bind "C-asciitilde" "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
65 \bind "C-S-E" "track-changes" # it's what MS Word uses
66 \bind "~S-C-quotedbl" "quote-insert single"
67 \bind "M-S-quotedbl" "self-insert \""
68 \bind "C-minus" "hyphenation-point-insert"
69 \bind "M-C-Right" "depth-increment"
70 \bind "M-C-Left" "depth-decrement"
71 \bind "C-S-L" "ligature-break-insert"
72 \bind "C-l" "ert-insert" # 'l' for LaTeX
74 #bind "F1" "help" # Not yet implemented!
75 #bind "C-F1" "help-context" # Not yet implemented!
76 \bind "F2" "buffer-write"
77 \bind "F3" "file-open"
78 \bind "C-F4" "buffer-close"
79 \bind "F5" "screen-recenter"
80 \bind "M-F4" "lyx-quit"
81 \bind "F7" "dialog-show spellchecker"
82 \bind "S-F7" "thesaurus-entry"
84 \bind "M-x" "command-execute"
90 \bind "M-Right" "word-forward"
91 \bind "M-Left" "word-backward"
92 \bind "M-Up" "paragraph-up"
93 \bind "M-Down" "paragraph-down"
94 \bind "C-Up" "buffer-begin"
95 \bind "C-Down" "buffer-end"
96 \bind "C-Right" "line-end"
97 \bind "C-Left" "line-begin"
99 \bind "C-~S-greater" "reference-goto"
100 \bind "C-~S-less" "bookmark-goto 0"
104 # Motion + select group
107 \bind "S-Right" "forward-select"
108 \bind "S-Left" "backward-select"
109 \bind "S-Up" "up-select"
110 \bind "S-Down" "down-select"
111 \bind "S-M-Right" "word-forward-select"
112 \bind "S-M-Left" "word-backward-select"
113 \bind "S-M-Up" "paragraph-up-select"
114 \bind "S-M-Down" "paragraph-down-select"
115 \bind "S-C-Left" "line-begin-select"
116 \bind "S-C-Right" "line-end-select"
117 \bind "S-Prior" "screen-up-select"
118 \bind "S-Next" "screen-down-select"
119 \bind "S-C-Up" "buffer-begin-select"
120 \bind "S-C-Down" "buffer-end-select"
121 \bind "C-Insert" "copy"
122 \bind "S-Insert" "paste"
123 \bind "S-Delete" "cut"
125 # Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
126 \bind "S-KP_Right" "forward-select"
127 \bind "S-KP_Left" "backward-select"
128 \bind "S-KP_Up" "up-select"
129 \bind "S-KP_Down" "down-select"
130 \bind "S-M-KP_Right" "word-forward-select"
131 \bind "S-M-KP_Left" "word-backward-select"
132 \bind "S-M-KP_Up" "paragraph-up-select"
133 \bind "S-M-KP_Down" "paragraph-down-select"
134 \bind "S-KP_Home" "line-begin-select"
135 \bind "S-KP_End" "line-end-select"
136 \bind "S-KP_Prior" "screen-up-select"
137 \bind "S-KP_Next" "screen-down-select"
138 \bind "S-C-KP_Home" "buffer-begin-select"
139 \bind "S-C-KP_End" "buffer-end-select"
140 \bind "S-C-KP_Prior" "buffer-begin-select"
141 \bind "S-C-KP_Next" "buffer-end-select"
142 \bind "C-KP_Insert" "copy"
143 \bind "S-KP_Insert" "paste"
144 \bind "S-KP_Delete" "cut"
150 \bind "C-~S-1" "bookmark-goto 1"
151 \bind "C-~S-2" "bookmark-goto 2"
152 \bind "C-~S-3" "bookmark-goto 3"
153 \bind "C-M-~S-1" "bookmark-save 1"
154 \bind "C-M-~S-2" "bookmark-save 2"
155 \bind "C-M-~S-3" "bookmark-save 3"
162 \bind "M-Delete" "word-delete-forward"
163 \bind "M-BackSpace" "word-delete-backward"
164 \bind "M-Return" "break-paragraph-keep-layout"
165 \bind "C-Return" "break-line"
166 \bind "C-k" "line-delete-forward"
167 \bind "C-space" "space-insert protected"
168 \bind "C-M-space" "space-insert normal"
169 \bind "S-M-space" "space-insert thin"
170 \bind "C-period" "end-of-sentence-period-insert"
171 \bind "M-period" "dots-insert"
172 \bind "Escape" "cancel"
173 #\bind "F9" "meta-prefix"
178 \bind "C-comma" "dialog-show prefs"
182 \bind "C-a" "command-sequence buffer-begin ; buffer-end-select"
185 # Include menu and math bindings
187 \bind_file menus.bind
189 \bind_file latinkeys.bind
190 \bind_file cyrkeys.bind
191 \bind_file greekkeys.bind