blob: 821ee12018248349aacb5fe3cb51570e545cac98 [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>
Steven M. Gava49745752002-02-18 01:43:11 +000013paste=<Control-Key-m>
Steven M. Gavae28ee752002-02-11 03:45:22 +000014beginning-of-line= <Key-Home>
15center-insert=<Control-Key-l>
16close-all-windows=<Control-Key-q>
17close-window=<Alt-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>
22history-next=<Alt-Key-n>
23history-previous=<Alt-Key-p>
24interrupt-execution=<Control-Key-c>
25open-class-browser=<Alt-Key-c>
26open-module=<Alt-Key-m>
27open-new-window=<Control-Key-n>
28open-window-from-file=<Control-Key-o>
29plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000030print-window=<Control-Key-p>
Steven M. Gavae28ee752002-02-11 03:45:22 +000031redo=<Control-Shift-Key-z>
32remove-selection=<Key-Escape>
33save-copy-of-window-as-file=<Alt-Shift-Key-s>
Steven M. Gava0c5bc8c2002-03-27 02:25:44 +000034save-window-as-file=<Control-Shift-Key-s>
Steven M. Gavae28ee752002-02-11 03:45:22 +000035save-window=<Control-Key-s>
Steven M. Gava7981ce52002-06-11 04:45:34 +000036select-all=<Control-Key-a>
Steven M. Gavae28ee752002-02-11 03:45:22 +000037toggle-auto-coloring=<Control-Key-slash>
38undo=<Control-Key-z>
39find=<Control-Key-f>
40find-again=<Control-Key-g> <Key-F3>
41find-in-files=<Alt-Key-F3>
42find-selection=<Control-Key-F3>
43replace=<Control-Key-h>
44goto-line=<Alt-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000045smart-backspace=<Key-BackSpace>
46newline-and-indent=<Key-Return> <Key-KP_Enter>
47smart-indent=<Key-Tab>
48indent-region=<Control-Key-bracketright>
49dedent-region=<Control-Key-bracketleft>
50comment-region=<Alt-Key-3>
51uncomment-region=<Alt-Key-4>
52tabify-region=<Alt-Key-5>
53untabify-region=<Alt-Key-6>
54toggle-tabs=<Alt-Key-t>
55change-indentwidth=<Alt-Key-u>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000056
Steven M. Gavac5976402002-01-04 03:06:08 +000057[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000058copy=<Alt-Key-w> <Meta-Key-w>
59cut=<Control-Key-w>
60paste=<Control-Key-y>
61beginning-of-line=<Control-Key-a> <Key-Home>
62center-insert=<Control-Key-l>
63close-all-windows=<Control-Key-x><Control-Key-c>
64close-window=<Control-Key-x><Control-Key-0>
65do-nothing=<Control-Key-x>
66end-of-file=<Control-Key-d>
67history-next=<Alt-Key-n> <Meta-Key-n>
68history-previous=<Alt-Key-p> <Meta-Key-p>
69interrupt-execution=<Control-Key-c>
70open-class-browser=<Control-Key-x><Control-Key-b>
71open-module=<Control-Key-x><Control-Key-m>
72open-new-window=<Control-Key-x><Control-Key-n>
73open-window-from-file=<Control-Key-x><Control-Key-f>
74plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000075print-window=<Control-x><Control-Key-p>
Steven M. Gavae28ee752002-02-11 03:45:22 +000076python-docs=<Control-Key-h>
77python-context-help=<Control-Shift-Key-h>
78redo=<Alt-Key-z> <Meta-Key-z>
79remove-selection=<Key-Escape>
80save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
81save-window-as-file=<Control-Key-x><Control-Key-w>
82save-window=<Control-Key-x><Control-Key-s>
83select-all=<Alt-Key-a> <Meta-Key-a>
84toggle-auto-coloring=<Control-Key-slash>
85undo=<Control-Key-z>
86find=<Control-Key-u><Control-Key-u><Control-Key-s>
87find-again=<Control-Key-u><Control-Key-s>
88find-in-files=<Alt-Key-s> <Meta-Key-s>
89find-selection=<Control-Key-s>
90replace=<Control-Key-r>
91goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000092smart-backspace=<Key-BackSpace>
93newline-and-indent=<Key-Return> <Key-KP_Enter>
94smart-indent=<Key-Tab>
95indent-region=<Control-Key-bracketright>
96dedent-region=<Control-Key-bracketleft>
97comment-region=<Alt-Key-3>
98uncomment-region=<Alt-Key-4>
99tabify-region=<Alt-Key-5>
100untabify-region=<Alt-Key-6>
101toggle-tabs=<Alt-Key-t>
102change-indentwidth=<Alt-Key-u>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000103
Tony Lowndsf18efa52002-09-23 00:57:10 +0000104[IDLE Classic Mac]
105copy=<Command-Key-c>
106cut=<Command-Key-x>
107paste=<Command-Key-v>
108beginning-of-line= <Key-Home>
109center-insert=<Control-Key-l>
110close-all-windows=<Command-Key-q>
111close-window=<Command-Key-w>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000112do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000113end-of-file=<Control-Key-d>
114python-docs=<Key-F1>
115python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000116history-next=<Control-Key-n>
117history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000118interrupt-execution=<Control-Key-c>
119open-class-browser=<Command-Key-b>
120open-module=<Command-Key-m>
121open-new-window=<Command-Key-n>
122open-window-from-file=<Command-Key-o>
123plain-newline-and-indent=<Control-Key-j>
124print-window=<Command-Key-p>
125redo=<Shift-Command-Key-z>
126remove-selection=<Key-Escape>
127save-window-as-file=<Shift-Command-Key-s>
128save-window=<Command-Key-s>
129save-copy-of-window-as-file=<Option-Command-Key-s>
130select-all=<Command-Key-a>
131toggle-auto-coloring=<Control-Key-slash>
132undo=<Command-Key-z>
133find=<Command-Key-f>
134find-again=<Command-Key-g> <Key-F3>
135find-in-files=<Command-Key-F3>
136find-selection=<Shift-Command-Key-F3>
137replace=<Command-Key-r>
138goto-line=<Command-Key-j>
139smart-backspace=<Key-BackSpace>
140newline-and-indent=<Key-Return> <Key-KP_Enter>
141smart-indent=<Key-Tab>
142indent-region=<Command-Key-bracketright>
143dedent-region=<Command-Key-bracketleft>
144comment-region=<Control-Key-3>
145uncomment-region=<Control-Key-4>
146tabify-region=<Control-Key-5>
147untabify-region=<Control-Key-6>
148toggle-tabs=<Control-Key-t>
149change-indentwidth=<Control-Key-u>