blob: f71269b5b49f461042065f071e49f16c947b937a [file] [log] [blame]
Kurt B. Kaiser282f1222003-05-18 02:21:55 +00001# IDLE reads several config files to determine user preferences. This
2# file is the default config file for idle key binding settings.
Steven M. Gava17d01542001-12-03 00:37:28 +00003# Where multiple keys are specified for an action: if they are separated
Raymond Hettinger1f65b472004-08-17 08:01:19 +00004# by a space (eg. action=<key1> <key2>) then the keys are alternatives, if
Steven M. Gavae28ee752002-02-11 03:45:22 +00005# 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.
Steven M. Gavac11ccf32001-09-24 09:43:17 +00009
Steven M. Gavac5976402002-01-04 03:06:08 +000010[IDLE Classic Windows]
Raymond Hettinger1f65b472004-08-17 08:01:19 +000011copy=<Control-Key-c> <Control-Key-C>
12cut=<Control-Key-x> <Control-Key-X>
13paste=<Control-Key-v> <Control-Key-V>
Steven M. Gavae28ee752002-02-11 03:45:22 +000014beginning-of-line= <Key-Home>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000015center-insert=<Control-Key-l> <Control-Key-L>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040016close-all-windows=<Control-Key-q> <Control-Key-Q>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000017close-window=<Alt-Key-F4> <Meta-Key-F4>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +000018do-nothing=<Control-Key-F12>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000019end-of-file=<Control-Key-d> <Control-Key-D>
Steven M. Gavae28ee752002-02-11 03:45:22 +000020python-docs=<Key-F1>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000021python-context-help=<Shift-Key-F1>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040022history-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>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000024interrupt-execution=<Control-Key-c> <Control-Key-C>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000025view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +000026restart-shell=<Control-Key-F6>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040027open-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>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000029open-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>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040033redo=<Control-Shift-Key-Z> <Control-Shift-Key-z>
Steven M. Gavae28ee752002-02-11 03:45:22 +000034remove-selection=<Key-Escape>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040035save-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>
Steven M. Gavae28ee752002-02-11 03:45:22 +000039toggle-auto-coloring=<Control-Key-slash>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000040undo=<Control-Key-z> <Control-Key-Z>
41find=<Control-Key-f> <Control-Key-F>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040042find-again=<Control-Key-g> <Key-F3> <Control-Key-G>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000043find-in-files=<Alt-Key-F3> <Meta-Key-F3>
Steven M. Gavae28ee752002-02-11 03:45:22 +000044find-selection=<Control-Key-F3>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000045replace=<Control-Key-h> <Control-Key-H>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040046goto-line=<Alt-Key-g> <Meta-Key-g> <Alt-Key-G> <Meta-Key-G>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000047smart-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>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000052comment-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>
Terry Jan Reedyf54432e2014-06-12 01:03:08 -040056toggle-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>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +000058del-word-left=<Control-Key-BackSpace>
59del-word-right=<Control-Key-Delete>
wohlganger58fc71c2017-09-10 16:19:47 -050060force-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>
Cheryl Sabella201bc2d2019-06-17 22:24:10 -040066run-custom= <Shift-Key-F5>
wohlganger58fc71c2017-09-10 16:19:47 -050067check-module= <Alt-Key-x>
68zoom-height= <Alt-Key-2>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000069
Steven M. Gavac5976402002-01-04 03:06:08 +000070[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000071copy=<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>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000083view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +000084restart-shell=<Control-Key-F6>
Steven M. Gavae28ee752002-02-11 03:45:22 +000085open-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>
Steven M. Gava7981ce52002-06-11 04:45:34 +000090print-window=<Control-x><Control-Key-p>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000091python-docs=<Control-Key-h>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000092python-context-help=<Control-Shift-Key-H>
Steven M. Gavae28ee752002-02-11 03:45:22 +000093redo=<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>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +0000107smart-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>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000118del-word-left=<Alt-Key-BackSpace>
119del-word-right=<Alt-Key-d>
wohlganger58fc71c2017-09-10 16:19:47 -0500120force-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>
Cheryl Sabella201bc2d2019-06-17 22:24:10 -0400126run-custom= <Shift-Key-F5>
wohlganger58fc71c2017-09-10 16:19:47 -0500127check-module= <Alt-Key-x>
128zoom-height= <Alt-Key-2>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000129
Terry Jan Reedy9bdb1ed2016-07-10 13:46:34 -0400130[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>
wohlganger58fc71c2017-09-10 16:19:47 -0500180force-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>
Cheryl Sabella201bc2d2019-06-17 22:24:10 -0400186run-custom= <Shift-Key-F5>
wohlganger58fc71c2017-09-10 16:19:47 -0500187check-module= <Alt-Key-x>
188zoom-height= <Alt-Key-2>
Terry Jan Reedy9bdb1ed2016-07-10 13:46:34 -0400189
Tony Lowndsf18efa52002-09-23 00:57:10 +0000190[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>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000198do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000199end-of-file=<Control-Key-d>
200python-docs=<Key-F1>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +0000201python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000202history-next=<Control-Key-n>
203history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000204interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +0000205view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +0000206restart-shell=<Control-Key-F6>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000207open-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>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000213redo=<Shift-Command-Key-Z>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000214remove-selection=<Key-Escape>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000215save-window-as-file=<Shift-Command-Key-S>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000216save-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>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000238del-word-left=<Control-Key-BackSpace>
239del-word-right=<Control-Key-Delete>
wohlganger58fc71c2017-09-10 16:19:47 -0500240force-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>
Cheryl Sabella201bc2d2019-06-17 22:24:10 -0400246run-custom= <Shift-Key-F5>
wohlganger58fc71c2017-09-10 16:19:47 -0500247check-module= <Option-Key-x>
248zoom-height= <Option-Key-0>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000249
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>
Ned Deily5c2d3302011-01-29 19:10:26 +0000266save-window-as-file = <Shift-Command-Key-S>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000267close-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>
Ned Deily5c2d3302011-01-29 19:10:26 +0000298save-copy-of-window-as-file = <Option-Command-Key-s>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000299open-window-from-file = <Command-Key-o>
300python-docs = <Key-F1>
wohlganger58fc71c2017-09-10 16:19:47 -0500301force-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>
Cheryl Sabella201bc2d2019-06-17 22:24:10 -0400307run-custom= <Shift-Key-F5>
wohlganger58fc71c2017-09-10 16:19:47 -0500308check-module= <Option-Key-x>
309zoom-height= <Option-Key-0>