Commit | Line | Data |
---|---|---|
920dae64 AT |
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> | |
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> | |
23 | history-previous=<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> | |
28 | open-module=<Alt-Key-m> <Meta-Key-m> <Alt-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> | |
34 | remove-selection=<Key-Escape> | |
35 | save-copy-of-window-as-file=<Alt-Shift-Key-S> | |
36 | save-window-as-file=<Control-Shift-Key-S> | |
37 | save-window=<Control-Key-s> | |
38 | select-all=<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> | |
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> | |
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> | |
57 | change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> | |
58 | ||
59 | [IDLE Classic Unix] | |
60 | copy=<Alt-Key-w> <Meta-Key-w> | |
61 | cut=<Control-Key-w> | |
62 | paste=<Control-Key-y> | |
63 | beginning-of-line=<Control-Key-a> <Key-Home> | |
64 | center-insert=<Control-Key-l> | |
65 | close-all-windows=<Control-Key-x><Control-Key-c> | |
66 | close-window=<Control-Key-x><Control-Key-0> | |
67 | do-nothing=<Control-Key-x> | |
68 | end-of-file=<Control-Key-d> | |
69 | history-next=<Alt-Key-n> <Meta-Key-n> | |
70 | history-previous=<Alt-Key-p> <Meta-Key-p> | |
71 | interrupt-execution=<Control-Key-c> | |
72 | view-restart=<Key-F6> | |
73 | restart-shell=<Control-Key-F6> | |
74 | open-class-browser=<Control-Key-x><Control-Key-b> | |
75 | open-module=<Control-Key-x><Control-Key-m> | |
76 | open-new-window=<Control-Key-x><Control-Key-n> | |
77 | open-window-from-file=<Control-Key-x><Control-Key-f> | |
78 | plain-newline-and-indent=<Control-Key-j> | |
79 | print-window=<Control-x><Control-Key-p> | |
80 | python-docs=<Control-Key-h> | |
81 | python-context-help=<Control-Shift-Key-H> | |
82 | redo=<Alt-Key-z> <Meta-Key-z> | |
83 | remove-selection=<Key-Escape> | |
84 | save-copy-of-window-as-file=<Control-Key-x><Control-Key-y> | |
85 | save-window-as-file=<Control-Key-x><Control-Key-w> | |
86 | save-window=<Control-Key-x><Control-Key-s> | |
87 | select-all=<Alt-Key-a> <Meta-Key-a> | |
88 | toggle-auto-coloring=<Control-Key-slash> | |
89 | undo=<Control-Key-z> | |
90 | find=<Control-Key-u><Control-Key-u><Control-Key-s> | |
91 | find-again=<Control-Key-u><Control-Key-s> | |
92 | find-in-files=<Alt-Key-s> <Meta-Key-s> | |
93 | find-selection=<Control-Key-s> | |
94 | replace=<Control-Key-r> | |
95 | goto-line=<Alt-Key-g> <Meta-Key-g> | |
96 | smart-backspace=<Key-BackSpace> | |
97 | newline-and-indent=<Key-Return> <Key-KP_Enter> | |
98 | smart-indent=<Key-Tab> | |
99 | indent-region=<Control-Key-bracketright> | |
100 | dedent-region=<Control-Key-bracketleft> | |
101 | comment-region=<Alt-Key-3> | |
102 | uncomment-region=<Alt-Key-4> | |
103 | tabify-region=<Alt-Key-5> | |
104 | untabify-region=<Alt-Key-6> | |
105 | toggle-tabs=<Alt-Key-t> | |
106 | change-indentwidth=<Alt-Key-u> | |
107 | ||
108 | [IDLE Classic Mac] | |
109 | copy=<Command-Key-c> | |
110 | cut=<Command-Key-x> | |
111 | paste=<Command-Key-v> | |
112 | beginning-of-line= <Key-Home> | |
113 | center-insert=<Control-Key-l> | |
114 | close-all-windows=<Command-Key-q> | |
115 | close-window=<Command-Key-w> | |
116 | do-nothing=<Control-Key-F12> | |
117 | end-of-file=<Control-Key-d> | |
118 | python-docs=<Key-F1> | |
119 | python-context-help=<Shift-Key-F1> | |
120 | history-next=<Control-Key-n> | |
121 | history-previous=<Control-Key-p> | |
122 | interrupt-execution=<Control-Key-c> | |
123 | view-restart=<Key-F6> | |
124 | restart-shell=<Control-Key-F6> | |
125 | open-class-browser=<Command-Key-b> | |
126 | open-module=<Command-Key-m> | |
127 | open-new-window=<Command-Key-n> | |
128 | open-window-from-file=<Command-Key-o> | |
129 | plain-newline-and-indent=<Control-Key-j> | |
130 | print-window=<Command-Key-p> | |
131 | redo=<Shift-Command-Key-Z> | |
132 | remove-selection=<Key-Escape> | |
133 | save-window-as-file=<Shift-Command-Key-S> | |
134 | save-window=<Command-Key-s> | |
135 | save-copy-of-window-as-file=<Option-Command-Key-s> | |
136 | select-all=<Command-Key-a> | |
137 | toggle-auto-coloring=<Control-Key-slash> | |
138 | undo=<Command-Key-z> | |
139 | find=<Command-Key-f> | |
140 | find-again=<Command-Key-g> <Key-F3> | |
141 | find-in-files=<Command-Key-F3> | |
142 | find-selection=<Shift-Command-Key-F3> | |
143 | replace=<Command-Key-r> | |
144 | goto-line=<Command-Key-j> | |
145 | smart-backspace=<Key-BackSpace> | |
146 | newline-and-indent=<Key-Return> <Key-KP_Enter> | |
147 | smart-indent=<Key-Tab> | |
148 | indent-region=<Command-Key-bracketright> | |
149 | dedent-region=<Command-Key-bracketleft> | |
150 | comment-region=<Control-Key-3> | |
151 | uncomment-region=<Control-Key-4> | |
152 | tabify-region=<Control-Key-5> | |
153 | untabify-region=<Control-Key-6> | |
154 | toggle-tabs=<Control-Key-t> | |
155 | change-indentwidth=<Control-Key-u> |