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