blob: fb0aaf4dc156b364abb3cd35644a438f02ac329b [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>
Steven M. Gavae28ee752002-02-11 03:45:22 +000016close-all-windows=<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>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000022history-next=<Alt-Key-n> <Meta-Key-n>
23history-previous=<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>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000027open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C>
28open-module=<Alt-Key-m> <Meta-Key-m> <Alt-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>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000033redo=<Control-Shift-Key-Z>
Steven M. Gavae28ee752002-02-11 03:45:22 +000034remove-selection=<Key-Escape>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000035save-copy-of-window-as-file=<Alt-Shift-Key-S>
36save-window-as-file=<Control-Shift-Key-S>
Steven M. Gavae28ee752002-02-11 03:45:22 +000037save-window=<Control-Key-s>
Steven M. Gava7981ce52002-06-11 04:45:34 +000038select-all=<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>
Steven M. Gavae28ee752002-02-11 03:45:22 +000042find-again=<Control-Key-g> <Key-F3>
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>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000046goto-line=<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>
Raymond Hettinger1f65b472004-08-17 08:01:19 +000056toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T>
57change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +000058del-word-left=<Control-Key-BackSpace>
59del-word-right=<Control-Key-Delete>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000060
Steven M. Gavac5976402002-01-04 03:06:08 +000061[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000062copy=<Alt-Key-w> <Meta-Key-w>
63cut=<Control-Key-w>
64paste=<Control-Key-y>
65beginning-of-line=<Control-Key-a> <Key-Home>
66center-insert=<Control-Key-l>
67close-all-windows=<Control-Key-x><Control-Key-c>
68close-window=<Control-Key-x><Control-Key-0>
69do-nothing=<Control-Key-x>
70end-of-file=<Control-Key-d>
71history-next=<Alt-Key-n> <Meta-Key-n>
72history-previous=<Alt-Key-p> <Meta-Key-p>
73interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000074view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +000075restart-shell=<Control-Key-F6>
Steven M. Gavae28ee752002-02-11 03:45:22 +000076open-class-browser=<Control-Key-x><Control-Key-b>
77open-module=<Control-Key-x><Control-Key-m>
78open-new-window=<Control-Key-x><Control-Key-n>
79open-window-from-file=<Control-Key-x><Control-Key-f>
80plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000081print-window=<Control-x><Control-Key-p>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000082python-docs=<Control-Key-h>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000083python-context-help=<Control-Shift-Key-H>
Steven M. Gavae28ee752002-02-11 03:45:22 +000084redo=<Alt-Key-z> <Meta-Key-z>
85remove-selection=<Key-Escape>
86save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
87save-window-as-file=<Control-Key-x><Control-Key-w>
88save-window=<Control-Key-x><Control-Key-s>
89select-all=<Alt-Key-a> <Meta-Key-a>
90toggle-auto-coloring=<Control-Key-slash>
91undo=<Control-Key-z>
92find=<Control-Key-u><Control-Key-u><Control-Key-s>
93find-again=<Control-Key-u><Control-Key-s>
94find-in-files=<Alt-Key-s> <Meta-Key-s>
95find-selection=<Control-Key-s>
96replace=<Control-Key-r>
97goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000098smart-backspace=<Key-BackSpace>
99newline-and-indent=<Key-Return> <Key-KP_Enter>
100smart-indent=<Key-Tab>
101indent-region=<Control-Key-bracketright>
102dedent-region=<Control-Key-bracketleft>
103comment-region=<Alt-Key-3>
104uncomment-region=<Alt-Key-4>
105tabify-region=<Alt-Key-5>
106untabify-region=<Alt-Key-6>
107toggle-tabs=<Alt-Key-t>
108change-indentwidth=<Alt-Key-u>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000109del-word-left=<Alt-Key-BackSpace>
110del-word-right=<Alt-Key-d>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000111
Tony Lowndsf18efa52002-09-23 00:57:10 +0000112[IDLE Classic Mac]
113copy=<Command-Key-c>
114cut=<Command-Key-x>
115paste=<Command-Key-v>
116beginning-of-line= <Key-Home>
117center-insert=<Control-Key-l>
118close-all-windows=<Command-Key-q>
119close-window=<Command-Key-w>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000120do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000121end-of-file=<Control-Key-d>
122python-docs=<Key-F1>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +0000123python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000124history-next=<Control-Key-n>
125history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000126interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +0000127view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +0000128restart-shell=<Control-Key-F6>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000129open-class-browser=<Command-Key-b>
130open-module=<Command-Key-m>
131open-new-window=<Command-Key-n>
132open-window-from-file=<Command-Key-o>
133plain-newline-and-indent=<Control-Key-j>
134print-window=<Command-Key-p>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000135redo=<Shift-Command-Key-Z>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000136remove-selection=<Key-Escape>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000137save-window-as-file=<Shift-Command-Key-S>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000138save-window=<Command-Key-s>
139save-copy-of-window-as-file=<Option-Command-Key-s>
140select-all=<Command-Key-a>
141toggle-auto-coloring=<Control-Key-slash>
142undo=<Command-Key-z>
143find=<Command-Key-f>
144find-again=<Command-Key-g> <Key-F3>
145find-in-files=<Command-Key-F3>
146find-selection=<Shift-Command-Key-F3>
147replace=<Command-Key-r>
148goto-line=<Command-Key-j>
149smart-backspace=<Key-BackSpace>
150newline-and-indent=<Key-Return> <Key-KP_Enter>
151smart-indent=<Key-Tab>
152indent-region=<Command-Key-bracketright>
153dedent-region=<Command-Key-bracketleft>
154comment-region=<Control-Key-3>
155uncomment-region=<Control-Key-4>
156tabify-region=<Control-Key-5>
157untabify-region=<Control-Key-6>
158toggle-tabs=<Control-Key-t>
159change-indentwidth=<Control-Key-u>
Kurt B. Kaiser3069dbb2005-01-28 00:16:16 +0000160del-word-left=<Control-Key-BackSpace>
161del-word-right=<Control-Key-Delete>
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000162
163[IDLE Classic OSX]
164toggle-tabs = <Control-Key-t>
165interrupt-execution = <Control-Key-c>
166untabify-region = <Control-Key-6>
167remove-selection = <Key-Escape>
168print-window = <Command-Key-p>
169replace = <Command-Key-r>
170goto-line = <Command-Key-j>
171plain-newline-and-indent = <Control-Key-j>
172history-previous = <Control-Key-p>
173beginning-of-line = <Control-Key-Left>
174end-of-line = <Control-Key-Right>
175comment-region = <Control-Key-3>
176redo = <Shift-Command-Key-Z>
177close-window = <Command-Key-w>
178restart-shell = <Control-Key-F6>
179save-window-as-file = <Command-Key-S>
180close-all-windows = <Command-Key-q>
181view-restart = <Key-F6>
182tabify-region = <Control-Key-5>
183find-again = <Command-Key-g> <Key-F3>
184find = <Command-Key-f>
185toggle-auto-coloring = <Control-Key-slash>
186select-all = <Command-Key-a>
187smart-backspace = <Key-BackSpace>
188change-indentwidth = <Control-Key-u>
189do-nothing = <Control-Key-F12>
190smart-indent = <Key-Tab>
191center-insert = <Control-Key-l>
192history-next = <Control-Key-n>
193del-word-right = <Option-Key-Delete>
194undo = <Command-Key-z>
195save-window = <Command-Key-s>
196uncomment-region = <Control-Key-4>
197cut = <Command-Key-x>
198find-in-files = <Command-Key-F3>
199dedent-region = <Command-Key-bracketleft>
200copy = <Command-Key-c>
201paste = <Command-Key-v>
202indent-region = <Command-Key-bracketright>
203del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
204newline-and-indent = <Key-Return> <Key-KP_Enter>
205end-of-file = <Control-Key-d>
206open-class-browser = <Command-Key-b>
207open-new-window = <Command-Key-n>
208open-module = <Command-Key-m>
209find-selection = <Shift-Command-Key-F3>
210python-context-help = <Shift-Key-F1>
211save-copy-of-window-as-file = <Shift-Command-Key-s>
212open-window-from-file = <Command-Key-o>
213python-docs = <Key-F1>
214