blob: 05b0cf4537526fba52983e1f024dc88583db8789 [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>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000058
Steven M. Gavac5976402002-01-04 03:06:08 +000059[IDLE Classic Unix]
Steven M. Gavae28ee752002-02-11 03:45:22 +000060copy=<Alt-Key-w> <Meta-Key-w>
61cut=<Control-Key-w>
62paste=<Control-Key-y>
63beginning-of-line=<Control-Key-a> <Key-Home>
64center-insert=<Control-Key-l>
65close-all-windows=<Control-Key-x><Control-Key-c>
66close-window=<Control-Key-x><Control-Key-0>
67do-nothing=<Control-Key-x>
68end-of-file=<Control-Key-d>
69history-next=<Alt-Key-n> <Meta-Key-n>
70history-previous=<Alt-Key-p> <Meta-Key-p>
71interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +000072view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +000073restart-shell=<Control-Key-F6>
Steven M. Gavae28ee752002-02-11 03:45:22 +000074open-class-browser=<Control-Key-x><Control-Key-b>
75open-module=<Control-Key-x><Control-Key-m>
76open-new-window=<Control-Key-x><Control-Key-n>
77open-window-from-file=<Control-Key-x><Control-Key-f>
78plain-newline-and-indent=<Control-Key-j>
Steven M. Gava7981ce52002-06-11 04:45:34 +000079print-window=<Control-x><Control-Key-p>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000080python-docs=<Control-Key-h>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +000081python-context-help=<Control-Shift-Key-H>
Steven M. Gavae28ee752002-02-11 03:45:22 +000082redo=<Alt-Key-z> <Meta-Key-z>
83remove-selection=<Key-Escape>
84save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
85save-window-as-file=<Control-Key-x><Control-Key-w>
86save-window=<Control-Key-x><Control-Key-s>
87select-all=<Alt-Key-a> <Meta-Key-a>
88toggle-auto-coloring=<Control-Key-slash>
89undo=<Control-Key-z>
90find=<Control-Key-u><Control-Key-u><Control-Key-s>
91find-again=<Control-Key-u><Control-Key-s>
92find-in-files=<Alt-Key-s> <Meta-Key-s>
93find-selection=<Control-Key-s>
94replace=<Control-Key-r>
95goto-line=<Alt-Key-g> <Meta-Key-g>
Kurt B. Kaiser9ef8f422002-09-14 03:18:43 +000096smart-backspace=<Key-BackSpace>
97newline-and-indent=<Key-Return> <Key-KP_Enter>
98smart-indent=<Key-Tab>
99indent-region=<Control-Key-bracketright>
100dedent-region=<Control-Key-bracketleft>
101comment-region=<Alt-Key-3>
102uncomment-region=<Alt-Key-4>
103tabify-region=<Alt-Key-5>
104untabify-region=<Alt-Key-6>
105toggle-tabs=<Alt-Key-t>
106change-indentwidth=<Alt-Key-u>
Tony Lowndse49dd4c2002-09-23 01:11:57 +0000107
Tony Lowndsf18efa52002-09-23 00:57:10 +0000108[IDLE Classic Mac]
109copy=<Command-Key-c>
110cut=<Command-Key-x>
111paste=<Command-Key-v>
112beginning-of-line= <Key-Home>
113center-insert=<Control-Key-l>
114close-all-windows=<Command-Key-q>
115close-window=<Command-Key-w>
Kurt B. Kaiser84f48032002-09-26 22:13:22 +0000116do-nothing=<Control-Key-F12>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000117end-of-file=<Control-Key-d>
118python-docs=<Key-F1>
Kurt B. Kaiser282f1222003-05-18 02:21:55 +0000119python-context-help=<Shift-Key-F1>
Tony Lownds6565b262002-09-29 00:10:15 +0000120history-next=<Control-Key-n>
121history-previous=<Control-Key-p>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000122interrupt-execution=<Control-Key-c>
Kurt B. Kaiser1061e722003-01-04 01:43:53 +0000123view-restart=<Key-F6>
Kurt B. Kaiser4cc5ef52003-01-22 00:23:23 +0000124restart-shell=<Control-Key-F6>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000125open-class-browser=<Command-Key-b>
126open-module=<Command-Key-m>
127open-new-window=<Command-Key-n>
128open-window-from-file=<Command-Key-o>
129plain-newline-and-indent=<Control-Key-j>
130print-window=<Command-Key-p>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000131redo=<Shift-Command-Key-Z>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000132remove-selection=<Key-Escape>
Kurt B. Kaiser2303b1c2003-11-24 05:26:16 +0000133save-window-as-file=<Shift-Command-Key-S>
Tony Lowndsf18efa52002-09-23 00:57:10 +0000134save-window=<Command-Key-s>
135save-copy-of-window-as-file=<Option-Command-Key-s>
136select-all=<Command-Key-a>
137toggle-auto-coloring=<Control-Key-slash>
138undo=<Command-Key-z>
139find=<Command-Key-f>
140find-again=<Command-Key-g> <Key-F3>
141find-in-files=<Command-Key-F3>
142find-selection=<Shift-Command-Key-F3>
143replace=<Command-Key-r>
144goto-line=<Command-Key-j>
145smart-backspace=<Key-BackSpace>
146newline-and-indent=<Key-Return> <Key-KP_Enter>
147smart-indent=<Key-Tab>
148indent-region=<Command-Key-bracketright>
149dedent-region=<Command-Key-bracketleft>
150comment-region=<Control-Key-3>
151uncomment-region=<Control-Key-4>
152tabify-region=<Control-Key-5>
153untabify-region=<Control-Key-6>
154toggle-tabs=<Control-Key-t>
155change-indentwidth=<Control-Key-u>