1# IDLE reads several config files to determine user preferences.  This
2# file is the default config file for idle key binding settings.
3# Where multiple keys are specified for an action: if they are separated
4# by a space (eg. action=<key1> <key2>) then the keys are alternatives, if
5# there is no space (eg. action=<key1><key2>) then the keys comprise a
6# single 'emacs style' multi-keystoke binding. The tk event specifier 'Key'
7# is used in all cases, for consistency in auto key conflict checking in the
8# configuration gui.
9
10[IDLE Classic Windows]
11copy=<Control-Key-c> <Control-Key-C>
12cut=<Control-Key-x> <Control-Key-X>
13paste=<Control-Key-v> <Control-Key-V>
14beginning-of-line= <Key-Home>
15center-insert=<Control-Key-l> <Control-Key-L>
16close-all-windows=<Control-Key-q> <Control-Key-Q>
17close-window=<Alt-Key-F4> <Meta-Key-F4>
18do-nothing=<Control-Key-F12>
19end-of-file=<Control-Key-d> <Control-Key-D>
20python-docs=<Key-F1>
21python-context-help=<Shift-Key-F1>
22history-next=<Alt-Key-n> <Meta-Key-n> <Alt-Key-N> <Meta-Key-N>
23history-previous=<Alt-Key-p> <Meta-Key-p> <Alt-Key-P> <Meta-Key-P>
24interrupt-execution=<Control-Key-c> <Control-Key-C>
25view-restart=<Key-F6>
26restart-shell=<Control-Key-F6>
27open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C> <Meta-Key-C>
28open-module=<Alt-Key-m> <Meta-Key-m> <Alt-Key-M> <Meta-Key-M>
29open-new-window=<Control-Key-n> <Control-Key-N>
30open-window-from-file=<Control-Key-o> <Control-Key-O>
31plain-newline-and-indent=<Control-Key-j> <Control-Key-J>
32print-window=<Control-Key-p> <Control-Key-P>
33redo=<Control-Shift-Key-Z> <Control-Shift-Key-z>
34remove-selection=<Key-Escape>
35save-copy-of-window-as-file=<Alt-Shift-Key-S> <Alt-Shift-Key-s>
36save-window-as-file=<Control-Shift-Key-S> <Control-Shift-Key-s>
37save-window=<Control-Key-s> <Control-Key-S>
38select-all=<Control-Key-a> <Control-Key-A>
39toggle-auto-coloring=<Control-Key-slash>
40undo=<Control-Key-z> <Control-Key-Z>
41find=<Control-Key-f> <Control-Key-F>
42find-again=<Control-Key-g> <Key-F3> <Control-Key-G>
43find-in-files=<Alt-Key-F3> <Meta-Key-F3>
44find-selection=<Control-Key-F3>
45replace=<Control-Key-h> <Control-Key-H>
46goto-line=<Alt-Key-g> <Meta-Key-g> <Alt-Key-G> <Meta-Key-G>
47smart-backspace=<Key-BackSpace>
48newline-and-indent=<Key-Return> <Key-KP_Enter>
49smart-indent=<Key-Tab>
50indent-region=<Control-Key-bracketright>
51dedent-region=<Control-Key-bracketleft>
52comment-region=<Alt-Key-3> <Meta-Key-3>
53uncomment-region=<Alt-Key-4> <Meta-Key-4>
54tabify-region=<Alt-Key-5> <Meta-Key-5>
55untabify-region=<Alt-Key-6> <Meta-Key-6>
56toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> <Meta-Key-T>
57change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> <Meta-Key-U>
58del-word-left=<Control-Key-BackSpace>
59del-word-right=<Control-Key-Delete>
60force-open-completions= <Control-Key-space>
61expand-word= <Alt-Key-slash>
62force-open-calltip= <Control-Key-backslash>
63format-paragraph= <Alt-Key-q>
64flash-paren= <Control-Key-0>
65run-module= <Key-F5>
66run-custom= <Shift-Key-F5>
67check-module= <Alt-Key-x>
68zoom-height= <Alt-Key-2>
69
70[IDLE Classic Unix]
71copy=<Alt-Key-w> <Meta-Key-w>
72cut=<Control-Key-w>
73paste=<Control-Key-y>
74beginning-of-line=<Control-Key-a> <Key-Home>
75center-insert=<Control-Key-l>
76close-all-windows=<Control-Key-x><Control-Key-c>
77close-window=<Control-Key-x><Control-Key-0>
78do-nothing=<Control-Key-x>
79end-of-file=<Control-Key-d>
80history-next=<Alt-Key-n> <Meta-Key-n>
81history-previous=<Alt-Key-p> <Meta-Key-p>
82interrupt-execution=<Control-Key-c>
83view-restart=<Key-F6>
84restart-shell=<Control-Key-F6>
85open-class-browser=<Control-Key-x><Control-Key-b>
86open-module=<Control-Key-x><Control-Key-m>
87open-new-window=<Control-Key-x><Control-Key-n>
88open-window-from-file=<Control-Key-x><Control-Key-f>
89plain-newline-and-indent=<Control-Key-j>
90print-window=<Control-x><Control-Key-p>
91python-docs=<Control-Key-h>
92python-context-help=<Control-Shift-Key-H>
93redo=<Alt-Key-z> <Meta-Key-z>
94remove-selection=<Key-Escape>
95save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
96save-window-as-file=<Control-Key-x><Control-Key-w>
97save-window=<Control-Key-x><Control-Key-s>
98select-all=<Alt-Key-a> <Meta-Key-a>
99toggle-auto-coloring=<Control-Key-slash>
100undo=<Control-Key-z>
101find=<Control-Key-u><Control-Key-u><Control-Key-s>
102find-again=<Control-Key-u><Control-Key-s>
103find-in-files=<Alt-Key-s> <Meta-Key-s>
104find-selection=<Control-Key-s>
105replace=<Control-Key-r>
106goto-line=<Alt-Key-g> <Meta-Key-g>
107smart-backspace=<Key-BackSpace>
108newline-and-indent=<Key-Return> <Key-KP_Enter>
109smart-indent=<Key-Tab>
110indent-region=<Control-Key-bracketright>
111dedent-region=<Control-Key-bracketleft>
112comment-region=<Alt-Key-3>
113uncomment-region=<Alt-Key-4>
114tabify-region=<Alt-Key-5>
115untabify-region=<Alt-Key-6>
116toggle-tabs=<Alt-Key-t>
117change-indentwidth=<Alt-Key-u>
118del-word-left=<Alt-Key-BackSpace>
119del-word-right=<Alt-Key-d>
120force-open-completions= <Control-Key-space>
121expand-word= <Alt-Key-slash>
122force-open-calltip= <Control-Key-backslash>
123format-paragraph= <Alt-Key-q>
124flash-paren= <Control-Key-0>
125run-module= <Key-F5>
126run-custom= <Shift-Key-F5>
127check-module= <Alt-Key-x>
128zoom-height= <Alt-Key-2>
129
130[IDLE Modern Unix]
131copy = <Control-Shift-Key-C> <Control-Key-Insert>
132cut = <Control-Key-x> <Shift-Key-Delete>
133paste = <Control-Key-v> <Shift-Key-Insert>
134beginning-of-line = <Key-Home>
135center-insert = <Control-Key-l>
136close-all-windows = <Control-Key-q>
137close-window = <Control-Key-w> <Control-Shift-Key-W>
138do-nothing = <Control-Key-F12>
139end-of-file = <Control-Key-d>
140history-next = <Alt-Key-n> <Meta-Key-n>
141history-previous = <Alt-Key-p> <Meta-Key-p>
142interrupt-execution = <Control-Key-c>
143view-restart = <Key-F6>
144restart-shell = <Control-Key-F6>
145open-class-browser = <Control-Key-b>
146open-module = <Control-Key-m>
147open-new-window = <Control-Key-n>
148open-window-from-file = <Control-Key-o>
149plain-newline-and-indent = <Control-Key-j>
150print-window = <Control-Key-p>
151python-context-help = <Shift-Key-F1>
152python-docs = <Key-F1>
153redo = <Control-Shift-Key-Z>
154remove-selection = <Key-Escape>
155save-copy-of-window-as-file = <Alt-Shift-Key-S>
156save-window-as-file = <Control-Shift-Key-S>
157save-window = <Control-Key-s>
158select-all = <Control-Key-a>
159toggle-auto-coloring = <Control-Key-slash>
160undo = <Control-Key-z>
161find = <Control-Key-f>
162find-again = <Key-F3>
163find-in-files = <Control-Shift-Key-f>
164find-selection = <Control-Key-h>
165replace = <Control-Key-r>
166goto-line = <Control-Key-g>
167smart-backspace = <Key-BackSpace>
168newline-and-indent = <Key-Return> <Key-KP_Enter>
169smart-indent = <Key-Tab>
170indent-region = <Control-Key-bracketright>
171dedent-region = <Control-Key-bracketleft>
172comment-region = <Control-Key-d>
173uncomment-region = <Control-Shift-Key-D>
174tabify-region = <Alt-Key-5>
175untabify-region = <Alt-Key-6>
176toggle-tabs = <Control-Key-T>
177change-indentwidth = <Alt-Key-u>
178del-word-left = <Control-Key-BackSpace>
179del-word-right = <Control-Key-Delete>
180force-open-completions= <Control-Key-space>
181expand-word= <Alt-Key-slash>
182force-open-calltip= <Control-Key-backslash>
183format-paragraph= <Alt-Key-q>
184flash-paren= <Control-Key-0>
185run-module= <Key-F5>
186run-custom= <Shift-Key-F5>
187check-module= <Alt-Key-x>
188zoom-height= <Alt-Key-2>
189
190[IDLE Classic Mac]
191copy=<Command-Key-c>
192cut=<Command-Key-x>
193paste=<Command-Key-v>
194beginning-of-line= <Key-Home>
195center-insert=<Control-Key-l>
196close-all-windows=<Command-Key-q>
197close-window=<Command-Key-w>
198do-nothing=<Control-Key-F12>
199end-of-file=<Control-Key-d>
200python-docs=<Key-F1>
201python-context-help=<Shift-Key-F1>
202history-next=<Control-Key-n>
203history-previous=<Control-Key-p>
204interrupt-execution=<Control-Key-c>
205view-restart=<Key-F6>
206restart-shell=<Control-Key-F6>
207open-class-browser=<Command-Key-b>
208open-module=<Command-Key-m>
209open-new-window=<Command-Key-n>
210open-window-from-file=<Command-Key-o>
211plain-newline-and-indent=<Control-Key-j>
212print-window=<Command-Key-p>
213redo=<Shift-Command-Key-Z>
214remove-selection=<Key-Escape>
215save-window-as-file=<Shift-Command-Key-S>
216save-window=<Command-Key-s>
217save-copy-of-window-as-file=<Option-Command-Key-s>
218select-all=<Command-Key-a>
219toggle-auto-coloring=<Control-Key-slash>
220undo=<Command-Key-z>
221find=<Command-Key-f>
222find-again=<Command-Key-g> <Key-F3>
223find-in-files=<Command-Key-F3>
224find-selection=<Shift-Command-Key-F3>
225replace=<Command-Key-r>
226goto-line=<Command-Key-j>
227smart-backspace=<Key-BackSpace>
228newline-and-indent=<Key-Return> <Key-KP_Enter>
229smart-indent=<Key-Tab>
230indent-region=<Command-Key-bracketright>
231dedent-region=<Command-Key-bracketleft>
232comment-region=<Control-Key-3>
233uncomment-region=<Control-Key-4>
234tabify-region=<Control-Key-5>
235untabify-region=<Control-Key-6>
236toggle-tabs=<Control-Key-t>
237change-indentwidth=<Control-Key-u>
238del-word-left=<Control-Key-BackSpace>
239del-word-right=<Control-Key-Delete>
240force-open-completions= <Control-Key-space>
241expand-word= <Option-Key-slash>
242force-open-calltip= <Control-Key-backslash>
243format-paragraph= <Option-Key-q>
244flash-paren= <Control-Key-0>
245run-module= <Key-F5>
246run-custom= <Shift-Key-F5>
247check-module= <Option-Key-x>
248zoom-height= <Option-Key-0>
249
250[IDLE Classic OSX]
251toggle-tabs = <Control-Key-t>
252interrupt-execution = <Control-Key-c>
253untabify-region = <Control-Key-6>
254remove-selection = <Key-Escape>
255print-window = <Command-Key-p>
256replace = <Command-Key-r>
257goto-line = <Command-Key-j>
258plain-newline-and-indent = <Control-Key-j>
259history-previous = <Control-Key-p>
260beginning-of-line = <Control-Key-Left>
261end-of-line = <Control-Key-Right>
262comment-region = <Control-Key-3>
263redo = <Shift-Command-Key-Z>
264close-window = <Command-Key-w>
265restart-shell = <Control-Key-F6>
266save-window-as-file = <Shift-Command-Key-S>
267close-all-windows = <Command-Key-q>
268view-restart = <Key-F6>
269tabify-region = <Control-Key-5>
270find-again = <Command-Key-g> <Key-F3>
271find = <Command-Key-f>
272toggle-auto-coloring = <Control-Key-slash>
273select-all = <Command-Key-a>
274smart-backspace = <Key-BackSpace>
275change-indentwidth = <Control-Key-u>
276do-nothing = <Control-Key-F12>
277smart-indent = <Key-Tab>
278center-insert = <Control-Key-l>
279history-next = <Control-Key-n>
280del-word-right = <Option-Key-Delete>
281undo = <Command-Key-z>
282save-window = <Command-Key-s>
283uncomment-region = <Control-Key-4>
284cut = <Command-Key-x>
285find-in-files = <Command-Key-F3>
286dedent-region = <Command-Key-bracketleft>
287copy = <Command-Key-c>
288paste = <Command-Key-v>
289indent-region = <Command-Key-bracketright>
290del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
291newline-and-indent = <Key-Return> <Key-KP_Enter>
292end-of-file = <Control-Key-d>
293open-class-browser = <Command-Key-b>
294open-new-window = <Command-Key-n>
295open-module = <Command-Key-m>
296find-selection = <Shift-Command-Key-F3>
297python-context-help = <Shift-Key-F1>
298save-copy-of-window-as-file = <Option-Command-Key-s>
299open-window-from-file = <Command-Key-o>
300python-docs = <Key-F1>
301force-open-completions= <Control-Key-space>
302expand-word= <Option-Key-slash>
303force-open-calltip= <Control-Key-backslash>
304format-paragraph= <Option-Key-q>
305flash-paren= <Control-Key-0>
306run-module= <Key-F5>
307run-custom= <Shift-Key-F5>
308check-module= <Option-Key-x>
309zoom-height= <Option-Key-0>
310