blob: fd235194dfc950705950ffb49442c7b6cddbcf95 [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>
66check-module= <Alt-Key-x>
67zoom-height= <Alt-Key-2>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000068
Steven M. Gavac5976402002-01-04 03:06:08 +000069[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000070copy=<Alt-Key-w> <Meta-Key-w>
71cut=<Control-Key-w>
72paste=<Control-Key-y>
73beginning-of-line=<Control-Key-a> <Key-Home>
74center-insert=<Control-Key-l>
75close-all-windows=<Control-Key-x><Control-Key-c>
76close-window=<Control-Key-x><Control-Key-0>
77do-nothing=<Control-Key-x>
78end-of-file=<Control-Key-d>
79history-next=<Alt-Key-n> <Meta-Key-n>
80history-previous=<Alt-Key-p> <Meta-Key-p>
81interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000082view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +000083restart-shell=<Control-Key-F6>
Steven M. Gavae28ee752002-02-11 03:45:22 +000084open-class-browser=<Control-Key-x><Control-Key-b>
85open-module=<Control-Key-x><Control-Key-m>
86open-new-window=<Control-Key-x><Control-Key-n>
87open-window-from-file=<Control-Key-x><Control-Key-f>
88plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000089print-window=<Control-x><Control-Key-p>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000090python-docs=<Control-Key-h>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000091python-context-help=<Control-Shift-Key-H>
Steven M. Gavae28ee752002-02-11 03:45:22 +000092redo=<Alt-Key-z> <Meta-Key-z>
93remove-selection=<Key-Escape>
94save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
95save-window-as-file=<Control-Key-x><Control-Key-w>
96save-window=<Control-Key-x><Control-Key-s>
97select-all=<Alt-Key-a> <Meta-Key-a>
98toggle-auto-coloring=<Control-Key-slash>
99undo=<Control-Key-z>
100find=<Control-Key-u><Control-Key-u><Control-Key-s>
101find-again=<Control-Key-u><Control-Key-s>
102find-in-files=<Alt-Key-s> <Meta-Key-s>
103find-selection=<Control-Key-s>
104replace=<Control-Key-r>
105goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +0000106smart-backspace=<Key-BackSpace>
107newline-and-indent=<Key-Return> <Key-KP_Enter>
108smart-indent=<Key-Tab>
109indent-region=<Control-Key-bracketright>
110dedent-region=<Control-Key-bracketleft>
111comment-region=<Alt-Key-3>
112uncomment-region=<Alt-Key-4>
113tabify-region=<Alt-Key-5>
114untabify-region=<Alt-Key-6>
115toggle-tabs=<Alt-Key-t>
116change-indentwidth=<Alt-Key-u>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000117del-word-left=<Alt-Key-BackSpace>
118del-word-right=<Alt-Key-d>
wohlganger58fc71c2017-09-10 16:19:47 -0500119force-open-completions= <Control-Key-space>
120expand-word= <Alt-Key-slash>
121force-open-calltip= <Control-Key-backslash>
122format-paragraph= <Alt-Key-q>
123flash-paren= <Control-Key-0>
124run-module= <Key-F5>
125check-module= <Alt-Key-x>
126zoom-height= <Alt-Key-2>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000127
Terry Jan Reedy9bdb1ed2016-07-10 13:46:34 -0400128[IDLE Modern Unix]
129copy = <Control-Shift-Key-C> <Control-Key-Insert>
130cut = <Control-Key-x> <Shift-Key-Delete>
131paste = <Control-Key-v> <Shift-Key-Insert>
132beginning-of-line = <Key-Home>
133center-insert = <Control-Key-l>
134close-all-windows = <Control-Key-q>
135close-window = <Control-Key-w> <Control-Shift-Key-W>
136do-nothing = <Control-Key-F12>
137end-of-file = <Control-Key-d>
138history-next = <Alt-Key-n> <Meta-Key-n>
139history-previous = <Alt-Key-p> <Meta-Key-p>
140interrupt-execution = <Control-Key-c>
141view-restart = <Key-F6>
142restart-shell = <Control-Key-F6>
143open-class-browser = <Control-Key-b>
144open-module = <Control-Key-m>
145open-new-window = <Control-Key-n>
146open-window-from-file = <Control-Key-o>
147plain-newline-and-indent = <Control-Key-j>
148print-window = <Control-Key-p>
149python-context-help = <Shift-Key-F1>
150python-docs = <Key-F1>
151redo = <Control-Shift-Key-Z>
152remove-selection = <Key-Escape>
153save-copy-of-window-as-file = <Alt-Shift-Key-S>
154save-window-as-file = <Control-Shift-Key-S>
155save-window = <Control-Key-s>
156select-all = <Control-Key-a>
157toggle-auto-coloring = <Control-Key-slash>
158undo = <Control-Key-z>
159find = <Control-Key-f>
160find-again = <Key-F3>
161find-in-files = <Control-Shift-Key-f>
162find-selection = <Control-Key-h>
163replace = <Control-Key-r>
164goto-line = <Control-Key-g>
165smart-backspace = <Key-BackSpace>
166newline-and-indent = <Key-Return> <Key-KP_Enter>
167smart-indent = <Key-Tab>
168indent-region = <Control-Key-bracketright>
169dedent-region = <Control-Key-bracketleft>
170comment-region = <Control-Key-d>
171uncomment-region = <Control-Shift-Key-D>
172tabify-region = <Alt-Key-5>
173untabify-region = <Alt-Key-6>
174toggle-tabs = <Control-Key-T>
175change-indentwidth = <Alt-Key-u>
176del-word-left = <Control-Key-BackSpace>
177del-word-right = <Control-Key-Delete>
wohlganger58fc71c2017-09-10 16:19:47 -0500178force-open-completions= <Control-Key-space>
179expand-word= <Alt-Key-slash>
180force-open-calltip= <Control-Key-backslash>
181format-paragraph= <Alt-Key-q>
182flash-paren= <Control-Key-0>
183run-module= <Key-F5>
184check-module= <Alt-Key-x>
185zoom-height= <Alt-Key-2>
Terry Jan Reedy9bdb1ed2016-07-10 13:46:34 -0400186
Tony Lowndsf18efa52002-09-23 00:57:10 +0000187[IDLE Classic Mac]
188copy=<Command-Key-c>
189cut=<Command-Key-x>
190paste=<Command-Key-v>
191beginning-of-line= <Key-Home>
192center-insert=<Control-Key-l>
193close-all-windows=<Command-Key-q>
194close-window=<Command-Key-w>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000195do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000196end-of-file=<Control-Key-d>
197python-docs=<Key-F1>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +0000198python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000199history-next=<Control-Key-n>
200history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000201interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +0000202view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +0000203restart-shell=<Control-Key-F6>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000204open-class-browser=<Command-Key-b>
205open-module=<Command-Key-m>
206open-new-window=<Command-Key-n>
207open-window-from-file=<Command-Key-o>
208plain-newline-and-indent=<Control-Key-j>
209print-window=<Command-Key-p>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000210redo=<Shift-Command-Key-Z>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000211remove-selection=<Key-Escape>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000212save-window-as-file=<Shift-Command-Key-S>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000213save-window=<Command-Key-s>
214save-copy-of-window-as-file=<Option-Command-Key-s>
215select-all=<Command-Key-a>
216toggle-auto-coloring=<Control-Key-slash>
217undo=<Command-Key-z>
218find=<Command-Key-f>
219find-again=<Command-Key-g> <Key-F3>
220find-in-files=<Command-Key-F3>
221find-selection=<Shift-Command-Key-F3>
222replace=<Command-Key-r>
223goto-line=<Command-Key-j>
224smart-backspace=<Key-BackSpace>
225newline-and-indent=<Key-Return> <Key-KP_Enter>
226smart-indent=<Key-Tab>
227indent-region=<Command-Key-bracketright>
228dedent-region=<Command-Key-bracketleft>
229comment-region=<Control-Key-3>
230uncomment-region=<Control-Key-4>
231tabify-region=<Control-Key-5>
232untabify-region=<Control-Key-6>
233toggle-tabs=<Control-Key-t>
234change-indentwidth=<Control-Key-u>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000235del-word-left=<Control-Key-BackSpace>
236del-word-right=<Control-Key-Delete>
wohlganger58fc71c2017-09-10 16:19:47 -0500237force-open-completions= <Control-Key-space>
238expand-word= <Option-Key-slash>
239force-open-calltip= <Control-Key-backslash>
240format-paragraph= <Option-Key-q>
241flash-paren= <Control-Key-0>
242run-module= <Key-F5>
243check-module= <Option-Key-x>
244zoom-height= <Option-Key-0>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000245
246[IDLE Classic OSX]
247toggle-tabs = <Control-Key-t>
248interrupt-execution = <Control-Key-c>
249untabify-region = <Control-Key-6>
250remove-selection = <Key-Escape>
251print-window = <Command-Key-p>
252replace = <Command-Key-r>
253goto-line = <Command-Key-j>
254plain-newline-and-indent = <Control-Key-j>
255history-previous = <Control-Key-p>
256beginning-of-line = <Control-Key-Left>
257end-of-line = <Control-Key-Right>
258comment-region = <Control-Key-3>
259redo = <Shift-Command-Key-Z>
260close-window = <Command-Key-w>
261restart-shell = <Control-Key-F6>
Ned Deily5c2d3302011-01-29 19:10:26 +0000262save-window-as-file = <Shift-Command-Key-S>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000263close-all-windows = <Command-Key-q>
264view-restart = <Key-F6>
265tabify-region = <Control-Key-5>
266find-again = <Command-Key-g> <Key-F3>
267find = <Command-Key-f>
268toggle-auto-coloring = <Control-Key-slash>
269select-all = <Command-Key-a>
270smart-backspace = <Key-BackSpace>
271change-indentwidth = <Control-Key-u>
272do-nothing = <Control-Key-F12>
273smart-indent = <Key-Tab>
274center-insert = <Control-Key-l>
275history-next = <Control-Key-n>
276del-word-right = <Option-Key-Delete>
277undo = <Command-Key-z>
278save-window = <Command-Key-s>
279uncomment-region = <Control-Key-4>
280cut = <Command-Key-x>
281find-in-files = <Command-Key-F3>
282dedent-region = <Command-Key-bracketleft>
283copy = <Command-Key-c>
284paste = <Command-Key-v>
285indent-region = <Command-Key-bracketright>
286del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
287newline-and-indent = <Key-Return> <Key-KP_Enter>
288end-of-file = <Control-Key-d>
289open-class-browser = <Command-Key-b>
290open-new-window = <Command-Key-n>
291open-module = <Command-Key-m>
292find-selection = <Shift-Command-Key-F3>
293python-context-help = <Shift-Key-F1>
Ned Deily5c2d3302011-01-29 19:10:26 +0000294save-copy-of-window-as-file = <Option-Command-Key-s>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000295open-window-from-file = <Command-Key-o>
296python-docs = <Key-F1>
wohlganger58fc71c2017-09-10 16:19:47 -0500297force-open-completions= <Control-Key-space>
298expand-word= <Option-Key-slash>
299force-open-calltip= <Control-Key-backslash>
300format-paragraph= <Option-Key-q>
301flash-paren= <Control-Key-0>
302run-module= <Key-F5>
303check-module= <Option-Key-x>
304zoom-height= <Option-Key-0>