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