PageRenderTime 84ms CodeModel.GetById 30ms app.highlight 24ms RepoModel.GetById 16ms app.codeStats 11ms

/Lib/idlelib/config-keys.def

http://unladen-swallow.googlecode.com/
Module-Definition | 214 lines | 209 code | 5 blank | 0 comment | 4 complexity | 0ca32e0301e29ecabb70599780012f49 MD5 | raw file
  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]
 11copy=<Control-Key-c> <Control-Key-C>
 12cut=<Control-Key-x> <Control-Key-X>
 13paste=<Control-Key-v> <Control-Key-V>
 14beginning-of-line= <Key-Home>
 15center-insert=<Control-Key-l> <Control-Key-L>
 16close-all-windows=<Control-Key-q>
 17close-window=<Alt-Key-F4> <Meta-Key-F4>
 18do-nothing=<Control-Key-F12>
 19end-of-file=<Control-Key-d> <Control-Key-D>
 20python-docs=<Key-F1>
 21python-context-help=<Shift-Key-F1>
 22history-next=<Alt-Key-n> <Meta-Key-n>
 23history-previous=<Alt-Key-p> <Meta-Key-p>
 24interrupt-execution=<Control-Key-c> <Control-Key-C>
 25view-restart=<Key-F6>
 26restart-shell=<Control-Key-F6>
 27open-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>
 33redo=<Control-Shift-Key-Z>
 34remove-selection=<Key-Escape>
 35save-copy-of-window-as-file=<Alt-Shift-Key-S>
 36save-window-as-file=<Control-Shift-Key-S>
 37save-window=<Control-Key-s>
 38select-all=<Control-Key-a>
 39toggle-auto-coloring=<Control-Key-slash>
 40undo=<Control-Key-z> <Control-Key-Z>
 41find=<Control-Key-f> <Control-Key-F>
 42find-again=<Control-Key-g> <Key-F3>
 43find-in-files=<Alt-Key-F3> <Meta-Key-F3>
 44find-selection=<Control-Key-F3>
 45replace=<Control-Key-h> <Control-Key-H>
 46goto-line=<Alt-Key-g> <Meta-Key-g>
 47smart-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>
 52comment-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>
 56toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T>
 57change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U>
 58del-word-left=<Control-Key-BackSpace>
 59del-word-right=<Control-Key-Delete>
 60
 61[IDLE Classic Unix]
 62copy=<Alt-Key-w> <Meta-Key-w>
 63cut=<Control-Key-w>
 64paste=<Control-Key-y>
 65beginning-of-line=<Control-Key-a> <Key-Home>
 66center-insert=<Control-Key-l>
 67close-all-windows=<Control-Key-x><Control-Key-c>
 68close-window=<Control-Key-x><Control-Key-0>
 69do-nothing=<Control-Key-x>
 70end-of-file=<Control-Key-d>
 71history-next=<Alt-Key-n> <Meta-Key-n>
 72history-previous=<Alt-Key-p> <Meta-Key-p>
 73interrupt-execution=<Control-Key-c>
 74view-restart=<Key-F6>
 75restart-shell=<Control-Key-F6>
 76open-class-browser=<Control-Key-x><Control-Key-b>
 77open-module=<Control-Key-x><Control-Key-m>
 78open-new-window=<Control-Key-x><Control-Key-n>
 79open-window-from-file=<Control-Key-x><Control-Key-f>
 80plain-newline-and-indent=<Control-Key-j>
 81print-window=<Control-x><Control-Key-p>
 82python-docs=<Control-Key-h>
 83python-context-help=<Control-Shift-Key-H>
 84redo=<Alt-Key-z> <Meta-Key-z>
 85remove-selection=<Key-Escape>
 86save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
 87save-window-as-file=<Control-Key-x><Control-Key-w>
 88save-window=<Control-Key-x><Control-Key-s>
 89select-all=<Alt-Key-a> <Meta-Key-a>
 90toggle-auto-coloring=<Control-Key-slash>
 91undo=<Control-Key-z>
 92find=<Control-Key-u><Control-Key-u><Control-Key-s>
 93find-again=<Control-Key-u><Control-Key-s>
 94find-in-files=<Alt-Key-s> <Meta-Key-s>
 95find-selection=<Control-Key-s>
 96replace=<Control-Key-r>
 97goto-line=<Alt-Key-g> <Meta-Key-g>
 98smart-backspace=<Key-BackSpace>
 99newline-and-indent=<Key-Return> <Key-KP_Enter>
100smart-indent=<Key-Tab>
101indent-region=<Control-Key-bracketright>
102dedent-region=<Control-Key-bracketleft>
103comment-region=<Alt-Key-3>
104uncomment-region=<Alt-Key-4>
105tabify-region=<Alt-Key-5>
106untabify-region=<Alt-Key-6>
107toggle-tabs=<Alt-Key-t>
108change-indentwidth=<Alt-Key-u>
109del-word-left=<Alt-Key-BackSpace>
110del-word-right=<Alt-Key-d>
111
112[IDLE Classic Mac]
113copy=<Command-Key-c>
114cut=<Command-Key-x>
115paste=<Command-Key-v>
116beginning-of-line= <Key-Home>
117center-insert=<Control-Key-l>
118close-all-windows=<Command-Key-q>
119close-window=<Command-Key-w>
120do-nothing=<Control-Key-F12>
121end-of-file=<Control-Key-d>
122python-docs=<Key-F1>
123python-context-help=<Shift-Key-F1>
124history-next=<Control-Key-n>
125history-previous=<Control-Key-p>
126interrupt-execution=<Control-Key-c>
127view-restart=<Key-F6>
128restart-shell=<Control-Key-F6>
129open-class-browser=<Command-Key-b>
130open-module=<Command-Key-m>
131open-new-window=<Command-Key-n>
132open-window-from-file=<Command-Key-o>
133plain-newline-and-indent=<Control-Key-j>
134print-window=<Command-Key-p>
135redo=<Shift-Command-Key-Z>
136remove-selection=<Key-Escape>
137save-window-as-file=<Shift-Command-Key-S>
138save-window=<Command-Key-s>
139save-copy-of-window-as-file=<Option-Command-Key-s>
140select-all=<Command-Key-a>
141toggle-auto-coloring=<Control-Key-slash>
142undo=<Command-Key-z>
143find=<Command-Key-f>
144find-again=<Command-Key-g> <Key-F3>
145find-in-files=<Command-Key-F3>
146find-selection=<Shift-Command-Key-F3>
147replace=<Command-Key-r>
148goto-line=<Command-Key-j>
149smart-backspace=<Key-BackSpace>
150newline-and-indent=<Key-Return> <Key-KP_Enter>
151smart-indent=<Key-Tab>
152indent-region=<Command-Key-bracketright>
153dedent-region=<Command-Key-bracketleft>
154comment-region=<Control-Key-3>
155uncomment-region=<Control-Key-4>
156tabify-region=<Control-Key-5>
157untabify-region=<Control-Key-6>
158toggle-tabs=<Control-Key-t>
159change-indentwidth=<Control-Key-u>
160del-word-left=<Control-Key-BackSpace>
161del-word-right=<Control-Key-Delete>
162
163[IDLE Classic OSX]
164toggle-tabs = <Control-Key-t>
165interrupt-execution = <Control-Key-c>
166untabify-region = <Control-Key-6>
167remove-selection = <Key-Escape>
168print-window = <Command-Key-p>
169replace = <Command-Key-r>
170goto-line = <Command-Key-j>
171plain-newline-and-indent = <Control-Key-j>
172history-previous = <Control-Key-p>
173beginning-of-line = <Control-Key-Left>
174end-of-line = <Control-Key-Right>
175comment-region = <Control-Key-3>
176redo = <Shift-Command-Key-Z>
177close-window = <Command-Key-w>
178restart-shell = <Control-Key-F6>
179save-window-as-file = <Command-Key-S>
180close-all-windows = <Command-Key-q>
181view-restart = <Key-F6>
182tabify-region = <Control-Key-5>
183find-again = <Command-Key-g> <Key-F3>
184find = <Command-Key-f>
185toggle-auto-coloring = <Control-Key-slash>
186select-all = <Command-Key-a>
187smart-backspace = <Key-BackSpace>
188change-indentwidth = <Control-Key-u>
189do-nothing = <Control-Key-F12>
190smart-indent = <Key-Tab>
191center-insert = <Control-Key-l>
192history-next = <Control-Key-n>
193del-word-right = <Option-Key-Delete>
194undo = <Command-Key-z>
195save-window = <Command-Key-s>
196uncomment-region = <Control-Key-4>
197cut = <Command-Key-x>
198find-in-files = <Command-Key-F3>
199dedent-region = <Command-Key-bracketleft>
200copy = <Command-Key-c>
201paste = <Command-Key-v>
202indent-region = <Command-Key-bracketright>
203del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
204newline-and-indent = <Key-Return> <Key-KP_Enter>
205end-of-file = <Control-Key-d>
206open-class-browser = <Command-Key-b>
207open-new-window = <Command-Key-n>
208open-module = <Command-Key-m>
209find-selection = <Shift-Command-Key-F3>
210python-context-help = <Shift-Key-F1>
211save-copy-of-window-as-file = <Shift-Command-Key-s>
212open-window-from-file = <Command-Key-o>
213python-docs = <Key-F1>
214