blob: 3e03ad7df8b50e09c1f34016af8a8fbc91ac4f91 [file] [log] [blame]
Steven M. Gavac11ccf32001-09-24 09:43:17 +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
4# by a space (eg. action=<key1> <key2>) then the keys are altenatives, 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]
Steven M. Gavae28ee752002-02-11 03:45:22 +000011copy=<Control-Key-c>
12cut=<Control-Key-x>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000013paste=<Control-Key-v>
Steven M. Gavae28ee752002-02-11 03:45:22 +000014beginning-of-line= <Key-Home>
15center-insert=<Control-Key-l>
16close-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>
Steven M. Gavae28ee752002-02-11 03:45:22 +000019end-of-file=<Control-Key-d>
20python-docs=<Key-F1>
21python-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>
Steven M. Gavae28ee752002-02-11 03:45:22 +000024interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000025view-restart=<Key-F6>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000026open-class-browser=<Alt-Key-c> <Meta-Key-c>
27open-module=<Alt-Key-m> <Meta-Key-m>
Steven M. Gavae28ee752002-02-11 03:45:22 +000028open-new-window=<Control-Key-n>
29open-window-from-file=<Control-Key-o>
30plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000031print-window=<Control-Key-p>
Steven M. Gavae28ee752002-02-11 03:45:22 +000032redo=<Control-Shift-Key-z>
33remove-selection=<Key-Escape>
34save-copy-of-window-as-file=<Alt-Shift-Key-s>
Steven M. Gava0c5bc8c2002-03-27 02:25:44 +000035save-window-as-file=<Control-Shift-Key-s>
Steven M. Gavae28ee752002-02-11 03:45:22 +000036save-window=<Control-Key-s>
Steven M. Gava7981ce52002-06-11 04:45:34 +000037select-all=<Control-Key-a>
Steven M. Gavae28ee752002-02-11 03:45:22 +000038toggle-auto-coloring=<Control-Key-slash>
39undo=<Control-Key-z>
40find=<Control-Key-f>
41find-again=<Control-Key-g> <Key-F3>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000042find-in-files=<Alt-Key-F3> <Meta-Key-F3>
Steven M. Gavae28ee752002-02-11 03:45:22 +000043find-selection=<Control-Key-F3>
44replace=<Control-Key-h>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000045goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000046smart-backspace=<Key-BackSpace>
47newline-and-indent=<Key-Return> <Key-KP_Enter>
48smart-indent=<Key-Tab>
49indent-region=<Control-Key-bracketright>
50dedent-region=<Control-Key-bracketleft>
Kurt B. Kaiser9fd07992003-01-16 21:40:21 +000051comment-region=<Alt-Key-3> <Meta-Key-3>
52uncomment-region=<Alt-Key-4> <Meta-Key-4>
53tabify-region=<Alt-Key-5> <Meta-Key-5>
54untabify-region=<Alt-Key-6> <Meta-Key-6>
55toggle-tabs=<Alt-Key-t> <Meta-Key-t>
56change-indentwidth=<Alt-Key-u> <Meta-Key-u>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000057
Steven M. Gavac5976402002-01-04 03:06:08 +000058[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000059copy=<Alt-Key-w> <Meta-Key-w>
60cut=<Control-Key-w>
61paste=<Control-Key-y>
62beginning-of-line=<Control-Key-a> <Key-Home>
63center-insert=<Control-Key-l>
64close-all-windows=<Control-Key-x><Control-Key-c>
65close-window=<Control-Key-x><Control-Key-0>
66do-nothing=<Control-Key-x>
67end-of-file=<Control-Key-d>
68history-next=<Alt-Key-n> <Meta-Key-n>
69history-previous=<Alt-Key-p> <Meta-Key-p>
70interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000071view-restart=<Key-F6>
Steven M. Gavae28ee752002-02-11 03:45:22 +000072open-class-browser=<Control-Key-x><Control-Key-b>
73open-module=<Control-Key-x><Control-Key-m>
74open-new-window=<Control-Key-x><Control-Key-n>
75open-window-from-file=<Control-Key-x><Control-Key-f>
76plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000077print-window=<Control-x><Control-Key-p>
Steven M. Gavae28ee752002-02-11 03:45:22 +000078python-docs=<Control-Key-h>
79python-context-help=<Control-Shift-Key-h>
80redo=<Alt-Key-z> <Meta-Key-z>
81remove-selection=<Key-Escape>
82save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
83save-window-as-file=<Control-Key-x><Control-Key-w>
84save-window=<Control-Key-x><Control-Key-s>
85select-all=<Alt-Key-a> <Meta-Key-a>
86toggle-auto-coloring=<Control-Key-slash>
87undo=<Control-Key-z>
88find=<Control-Key-u><Control-Key-u><Control-Key-s>
89find-again=<Control-Key-u><Control-Key-s>
90find-in-files=<Alt-Key-s> <Meta-Key-s>
91find-selection=<Control-Key-s>
92replace=<Control-Key-r>
93goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000094smart-backspace=<Key-BackSpace>
95newline-and-indent=<Key-Return> <Key-KP_Enter>
96smart-indent=<Key-Tab>
97indent-region=<Control-Key-bracketright>
98dedent-region=<Control-Key-bracketleft>
99comment-region=<Alt-Key-3>
100uncomment-region=<Alt-Key-4>
101tabify-region=<Alt-Key-5>
102untabify-region=<Alt-Key-6>
103toggle-tabs=<Alt-Key-t>
104change-indentwidth=<Alt-Key-u>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000105
Tony Lowndsf18efa52002-09-23 00:57:10 +0000106[IDLE Classic Mac]
107copy=<Command-Key-c>
108cut=<Command-Key-x>
109paste=<Command-Key-v>
110beginning-of-line= <Key-Home>
111center-insert=<Control-Key-l>
112close-all-windows=<Command-Key-q>
113close-window=<Command-Key-w>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000114do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000115end-of-file=<Control-Key-d>
116python-docs=<Key-F1>
117python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000118history-next=<Control-Key-n>
119history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000120interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +0000121view-restart=<Key-F6>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000122open-class-browser=<Command-Key-b>
123open-module=<Command-Key-m>
124open-new-window=<Command-Key-n>
125open-window-from-file=<Command-Key-o>
126plain-newline-and-indent=<Control-Key-j>
127print-window=<Command-Key-p>
128redo=<Shift-Command-Key-z>
129remove-selection=<Key-Escape>
130save-window-as-file=<Shift-Command-Key-s>
131save-window=<Command-Key-s>
132save-copy-of-window-as-file=<Option-Command-Key-s>
133select-all=<Command-Key-a>
134toggle-auto-coloring=<Control-Key-slash>
135undo=<Command-Key-z>
136find=<Command-Key-f>
137find-again=<Command-Key-g> <Key-F3>
138find-in-files=<Command-Key-F3>
139find-selection=<Shift-Command-Key-F3>
140replace=<Command-Key-r>
141goto-line=<Command-Key-j>
142smart-backspace=<Key-BackSpace>
143newline-and-indent=<Key-Return> <Key-KP_Enter>
144smart-indent=<Key-Tab>
145indent-region=<Command-Key-bracketright>
146dedent-region=<Command-Key-bracketleft>
147comment-region=<Control-Key-3>
148uncomment-region=<Control-Key-4>
149tabify-region=<Control-Key-5>
150untabify-region=<Control-Key-6>
151toggle-tabs=<Control-Key-t>
152change-indentwidth=<Control-Key-u>