310 lines
11 KiB
Modula-2
310 lines
11 KiB
Modula-2
|
# IDLE reads several config files to determine user preferences. This
|
||
|
# file is the default config file for idle key binding settings.
|
||
|
# Where multiple keys are specified for an action: if they are separated
|
||
|
# by a space (eg. action=<key1> <key2>) then the keys are alternatives, if
|
||
|
# there is no space (eg. action=<key1><key2>) then the keys comprise a
|
||
|
# single 'emacs style' multi-keystoke binding. The tk event specifier 'Key'
|
||
|
# is used in all cases, for consistency in auto key conflict checking in the
|
||
|
# configuration gui.
|
||
|
|
||
|
[IDLE Classic Windows]
|
||
|
copy=<Control-Key-c> <Control-Key-C>
|
||
|
cut=<Control-Key-x> <Control-Key-X>
|
||
|
paste=<Control-Key-v> <Control-Key-V>
|
||
|
beginning-of-line= <Key-Home>
|
||
|
center-insert=<Control-Key-l> <Control-Key-L>
|
||
|
close-all-windows=<Control-Key-q> <Control-Key-Q>
|
||
|
close-window=<Alt-Key-F4> <Meta-Key-F4>
|
||
|
do-nothing=<Control-Key-F12>
|
||
|
end-of-file=<Control-Key-d> <Control-Key-D>
|
||
|
python-docs=<Key-F1>
|
||
|
python-context-help=<Shift-Key-F1>
|
||
|
history-next=<Alt-Key-n> <Meta-Key-n> <Alt-Key-N> <Meta-Key-N>
|
||
|
history-previous=<Alt-Key-p> <Meta-Key-p> <Alt-Key-P> <Meta-Key-P>
|
||
|
interrupt-execution=<Control-Key-c> <Control-Key-C>
|
||
|
view-restart=<Key-F6>
|
||
|
restart-shell=<Control-Key-F6>
|
||
|
open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C> <Meta-Key-C>
|
||
|
open-module=<Alt-Key-m> <Meta-Key-m> <Alt-Key-M> <Meta-Key-M>
|
||
|
open-new-window=<Control-Key-n> <Control-Key-N>
|
||
|
open-window-from-file=<Control-Key-o> <Control-Key-O>
|
||
|
plain-newline-and-indent=<Control-Key-j> <Control-Key-J>
|
||
|
print-window=<Control-Key-p> <Control-Key-P>
|
||
|
redo=<Control-Shift-Key-Z> <Control-Shift-Key-z>
|
||
|
remove-selection=<Key-Escape>
|
||
|
save-copy-of-window-as-file=<Alt-Shift-Key-S> <Alt-Shift-Key-s>
|
||
|
save-window-as-file=<Control-Shift-Key-S> <Control-Shift-Key-s>
|
||
|
save-window=<Control-Key-s> <Control-Key-S>
|
||
|
select-all=<Control-Key-a> <Control-Key-A>
|
||
|
toggle-auto-coloring=<Control-Key-slash>
|
||
|
undo=<Control-Key-z> <Control-Key-Z>
|
||
|
find=<Control-Key-f> <Control-Key-F>
|
||
|
find-again=<Control-Key-g> <Key-F3> <Control-Key-G>
|
||
|
find-in-files=<Alt-Key-F3> <Meta-Key-F3>
|
||
|
find-selection=<Control-Key-F3>
|
||
|
replace=<Control-Key-h> <Control-Key-H>
|
||
|
goto-line=<Alt-Key-g> <Meta-Key-g> <Alt-Key-G> <Meta-Key-G>
|
||
|
smart-backspace=<Key-BackSpace>
|
||
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
||
|
smart-indent=<Key-Tab>
|
||
|
indent-region=<Control-Key-bracketright>
|
||
|
dedent-region=<Control-Key-bracketleft>
|
||
|
comment-region=<Alt-Key-3> <Meta-Key-3>
|
||
|
uncomment-region=<Alt-Key-4> <Meta-Key-4>
|
||
|
tabify-region=<Alt-Key-5> <Meta-Key-5>
|
||
|
untabify-region=<Alt-Key-6> <Meta-Key-6>
|
||
|
toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> <Meta-Key-T>
|
||
|
change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> <Meta-Key-U>
|
||
|
del-word-left=<Control-Key-BackSpace>
|
||
|
del-word-right=<Control-Key-Delete>
|
||
|
force-open-completions= <Control-Key-space>
|
||
|
expand-word= <Alt-Key-slash>
|
||
|
force-open-calltip= <Control-Key-backslash>
|
||
|
format-paragraph= <Alt-Key-q>
|
||
|
flash-paren= <Control-Key-0>
|
||
|
run-module= <Key-F5>
|
||
|
run-custom= <Shift-Key-F5>
|
||
|
check-module= <Alt-Key-x>
|
||
|
zoom-height= <Alt-Key-2>
|
||
|
|
||
|
[IDLE Classic Unix]
|
||
|
copy=<Alt-Key-w> <Meta-Key-w>
|
||
|
cut=<Control-Key-w>
|
||
|
paste=<Control-Key-y>
|
||
|
beginning-of-line=<Control-Key-a> <Key-Home>
|
||
|
center-insert=<Control-Key-l>
|
||
|
close-all-windows=<Control-Key-x><Control-Key-c>
|
||
|
close-window=<Control-Key-x><Control-Key-0>
|
||
|
do-nothing=<Control-Key-x>
|
||
|
end-of-file=<Control-Key-d>
|
||
|
history-next=<Alt-Key-n> <Meta-Key-n>
|
||
|
history-previous=<Alt-Key-p> <Meta-Key-p>
|
||
|
interrupt-execution=<Control-Key-c>
|
||
|
view-restart=<Key-F6>
|
||
|
restart-shell=<Control-Key-F6>
|
||
|
open-class-browser=<Control-Key-x><Control-Key-b>
|
||
|
open-module=<Control-Key-x><Control-Key-m>
|
||
|
open-new-window=<Control-Key-x><Control-Key-n>
|
||
|
open-window-from-file=<Control-Key-x><Control-Key-f>
|
||
|
plain-newline-and-indent=<Control-Key-j>
|
||
|
print-window=<Control-x><Control-Key-p>
|
||
|
python-docs=<Control-Key-h>
|
||
|
python-context-help=<Control-Shift-Key-H>
|
||
|
redo=<Alt-Key-z> <Meta-Key-z>
|
||
|
remove-selection=<Key-Escape>
|
||
|
save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
|
||
|
save-window-as-file=<Control-Key-x><Control-Key-w>
|
||
|
save-window=<Control-Key-x><Control-Key-s>
|
||
|
select-all=<Alt-Key-a> <Meta-Key-a>
|
||
|
toggle-auto-coloring=<Control-Key-slash>
|
||
|
undo=<Control-Key-z>
|
||
|
find=<Control-Key-u><Control-Key-u><Control-Key-s>
|
||
|
find-again=<Control-Key-u><Control-Key-s>
|
||
|
find-in-files=<Alt-Key-s> <Meta-Key-s>
|
||
|
find-selection=<Control-Key-s>
|
||
|
replace=<Control-Key-r>
|
||
|
goto-line=<Alt-Key-g> <Meta-Key-g>
|
||
|
smart-backspace=<Key-BackSpace>
|
||
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
||
|
smart-indent=<Key-Tab>
|
||
|
indent-region=<Control-Key-bracketright>
|
||
|
dedent-region=<Control-Key-bracketleft>
|
||
|
comment-region=<Alt-Key-3>
|
||
|
uncomment-region=<Alt-Key-4>
|
||
|
tabify-region=<Alt-Key-5>
|
||
|
untabify-region=<Alt-Key-6>
|
||
|
toggle-tabs=<Alt-Key-t>
|
||
|
change-indentwidth=<Alt-Key-u>
|
||
|
del-word-left=<Alt-Key-BackSpace>
|
||
|
del-word-right=<Alt-Key-d>
|
||
|
force-open-completions= <Control-Key-space>
|
||
|
expand-word= <Alt-Key-slash>
|
||
|
force-open-calltip= <Control-Key-backslash>
|
||
|
format-paragraph= <Alt-Key-q>
|
||
|
flash-paren= <Control-Key-0>
|
||
|
run-module= <Key-F5>
|
||
|
run-custom= <Shift-Key-F5>
|
||
|
check-module= <Alt-Key-x>
|
||
|
zoom-height= <Alt-Key-2>
|
||
|
|
||
|
[IDLE Modern Unix]
|
||
|
copy = <Control-Shift-Key-C> <Control-Key-Insert>
|
||
|
cut = <Control-Key-x> <Shift-Key-Delete>
|
||
|
paste = <Control-Key-v> <Shift-Key-Insert>
|
||
|
beginning-of-line = <Key-Home>
|
||
|
center-insert = <Control-Key-l>
|
||
|
close-all-windows = <Control-Key-q>
|
||
|
close-window = <Control-Key-w> <Control-Shift-Key-W>
|
||
|
do-nothing = <Control-Key-F12>
|
||
|
end-of-file = <Control-Key-d>
|
||
|
history-next = <Alt-Key-n> <Meta-Key-n>
|
||
|
history-previous = <Alt-Key-p> <Meta-Key-p>
|
||
|
interrupt-execution = <Control-Key-c>
|
||
|
view-restart = <Key-F6>
|
||
|
restart-shell = <Control-Key-F6>
|
||
|
open-class-browser = <Control-Key-b>
|
||
|
open-module = <Control-Key-m>
|
||
|
open-new-window = <Control-Key-n>
|
||
|
open-window-from-file = <Control-Key-o>
|
||
|
plain-newline-and-indent = <Control-Key-j>
|
||
|
print-window = <Control-Key-p>
|
||
|
python-context-help = <Shift-Key-F1>
|
||
|
python-docs = <Key-F1>
|
||
|
redo = <Control-Shift-Key-Z>
|
||
|
remove-selection = <Key-Escape>
|
||
|
save-copy-of-window-as-file = <Alt-Shift-Key-S>
|
||
|
save-window-as-file = <Control-Shift-Key-S>
|
||
|
save-window = <Control-Key-s>
|
||
|
select-all = <Control-Key-a>
|
||
|
toggle-auto-coloring = <Control-Key-slash>
|
||
|
undo = <Control-Key-z>
|
||
|
find = <Control-Key-f>
|
||
|
find-again = <Key-F3>
|
||
|
find-in-files = <Control-Shift-Key-f>
|
||
|
find-selection = <Control-Key-h>
|
||
|
replace = <Control-Key-r>
|
||
|
goto-line = <Control-Key-g>
|
||
|
smart-backspace = <Key-BackSpace>
|
||
|
newline-and-indent = <Key-Return> <Key-KP_Enter>
|
||
|
smart-indent = <Key-Tab>
|
||
|
indent-region = <Control-Key-bracketright>
|
||
|
dedent-region = <Control-Key-bracketleft>
|
||
|
comment-region = <Control-Key-d>
|
||
|
uncomment-region = <Control-Shift-Key-D>
|
||
|
tabify-region = <Alt-Key-5>
|
||
|
untabify-region = <Alt-Key-6>
|
||
|
toggle-tabs = <Control-Key-T>
|
||
|
change-indentwidth = <Alt-Key-u>
|
||
|
del-word-left = <Control-Key-BackSpace>
|
||
|
del-word-right = <Control-Key-Delete>
|
||
|
force-open-completions= <Control-Key-space>
|
||
|
expand-word= <Alt-Key-slash>
|
||
|
force-open-calltip= <Control-Key-backslash>
|
||
|
format-paragraph= <Alt-Key-q>
|
||
|
flash-paren= <Control-Key-0>
|
||
|
run-module= <Key-F5>
|
||
|
run-custom= <Shift-Key-F5>
|
||
|
check-module= <Alt-Key-x>
|
||
|
zoom-height= <Alt-Key-2>
|
||
|
|
||
|
[IDLE Classic Mac]
|
||
|
copy=<Command-Key-c>
|
||
|
cut=<Command-Key-x>
|
||
|
paste=<Command-Key-v>
|
||
|
beginning-of-line= <Key-Home>
|
||
|
center-insert=<Control-Key-l>
|
||
|
close-all-windows=<Command-Key-q>
|
||
|
close-window=<Command-Key-w>
|
||
|
do-nothing=<Control-Key-F12>
|
||
|
end-of-file=<Control-Key-d>
|
||
|
python-docs=<Key-F1>
|
||
|
python-context-help=<Shift-Key-F1>
|
||
|
history-next=<Control-Key-n>
|
||
|
history-previous=<Control-Key-p>
|
||
|
interrupt-execution=<Control-Key-c>
|
||
|
view-restart=<Key-F6>
|
||
|
restart-shell=<Control-Key-F6>
|
||
|
open-class-browser=<Command-Key-b>
|
||
|
open-module=<Command-Key-m>
|
||
|
open-new-window=<Command-Key-n>
|
||
|
open-window-from-file=<Command-Key-o>
|
||
|
plain-newline-and-indent=<Control-Key-j>
|
||
|
print-window=<Command-Key-p>
|
||
|
redo=<Shift-Command-Key-Z>
|
||
|
remove-selection=<Key-Escape>
|
||
|
save-window-as-file=<Shift-Command-Key-S>
|
||
|
save-window=<Command-Key-s>
|
||
|
save-copy-of-window-as-file=<Option-Command-Key-s>
|
||
|
select-all=<Command-Key-a>
|
||
|
toggle-auto-coloring=<Control-Key-slash>
|
||
|
undo=<Command-Key-z>
|
||
|
find=<Command-Key-f>
|
||
|
find-again=<Command-Key-g> <Key-F3>
|
||
|
find-in-files=<Command-Key-F3>
|
||
|
find-selection=<Shift-Command-Key-F3>
|
||
|
replace=<Command-Key-r>
|
||
|
goto-line=<Command-Key-j>
|
||
|
smart-backspace=<Key-BackSpace>
|
||
|
newline-and-indent=<Key-Return> <Key-KP_Enter>
|
||
|
smart-indent=<Key-Tab>
|
||
|
indent-region=<Command-Key-bracketright>
|
||
|
dedent-region=<Command-Key-bracketleft>
|
||
|
comment-region=<Control-Key-3>
|
||
|
uncomment-region=<Control-Key-4>
|
||
|
tabify-region=<Control-Key-5>
|
||
|
untabify-region=<Control-Key-6>
|
||
|
toggle-tabs=<Control-Key-t>
|
||
|
change-indentwidth=<Control-Key-u>
|
||
|
del-word-left=<Control-Key-BackSpace>
|
||
|
del-word-right=<Control-Key-Delete>
|
||
|
force-open-completions= <Control-Key-space>
|
||
|
expand-word= <Option-Key-slash>
|
||
|
force-open-calltip= <Control-Key-backslash>
|
||
|
format-paragraph= <Option-Key-q>
|
||
|
flash-paren= <Control-Key-0>
|
||
|
run-module= <Key-F5>
|
||
|
run-custom= <Shift-Key-F5>
|
||
|
check-module= <Option-Key-x>
|
||
|
zoom-height= <Option-Key-0>
|
||
|
|
||
|
[IDLE Classic OSX]
|
||
|
toggle-tabs = <Control-Key-t>
|
||
|
interrupt-execution = <Control-Key-c>
|
||
|
untabify-region = <Control-Key-6>
|
||
|
remove-selection = <Key-Escape>
|
||
|
print-window = <Command-Key-p>
|
||
|
replace = <Command-Key-r>
|
||
|
goto-line = <Command-Key-j>
|
||
|
plain-newline-and-indent = <Control-Key-j>
|
||
|
history-previous = <Control-Key-p>
|
||
|
beginning-of-line = <Control-Key-Left>
|
||
|
end-of-line = <Control-Key-Right>
|
||
|
comment-region = <Control-Key-3>
|
||
|
redo = <Shift-Command-Key-Z>
|
||
|
close-window = <Command-Key-w>
|
||
|
restart-shell = <Control-Key-F6>
|
||
|
save-window-as-file = <Shift-Command-Key-S>
|
||
|
close-all-windows = <Command-Key-q>
|
||
|
view-restart = <Key-F6>
|
||
|
tabify-region = <Control-Key-5>
|
||
|
find-again = <Command-Key-g> <Key-F3>
|
||
|
find = <Command-Key-f>
|
||
|
toggle-auto-coloring = <Control-Key-slash>
|
||
|
select-all = <Command-Key-a>
|
||
|
smart-backspace = <Key-BackSpace>
|
||
|
change-indentwidth = <Control-Key-u>
|
||
|
do-nothing = <Control-Key-F12>
|
||
|
smart-indent = <Key-Tab>
|
||
|
center-insert = <Control-Key-l>
|
||
|
history-next = <Control-Key-n>
|
||
|
del-word-right = <Option-Key-Delete>
|
||
|
undo = <Command-Key-z>
|
||
|
save-window = <Command-Key-s>
|
||
|
uncomment-region = <Control-Key-4>
|
||
|
cut = <Command-Key-x>
|
||
|
find-in-files = <Command-Key-F3>
|
||
|
dedent-region = <Command-Key-bracketleft>
|
||
|
copy = <Command-Key-c>
|
||
|
paste = <Command-Key-v>
|
||
|
indent-region = <Command-Key-bracketright>
|
||
|
del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
|
||
|
newline-and-indent = <Key-Return> <Key-KP_Enter>
|
||
|
end-of-file = <Control-Key-d>
|
||
|
open-class-browser = <Command-Key-b>
|
||
|
open-new-window = <Command-Key-n>
|
||
|
open-module = <Command-Key-m>
|
||
|
find-selection = <Shift-Command-Key-F3>
|
||
|
python-context-help = <Shift-Key-F1>
|
||
|
save-copy-of-window-as-file = <Option-Command-Key-s>
|
||
|
open-window-from-file = <Command-Key-o>
|
||
|
python-docs = <Key-F1>
|
||
|
force-open-completions= <Control-Key-space>
|
||
|
expand-word= <Option-Key-slash>
|
||
|
force-open-calltip= <Control-Key-backslash>
|
||
|
format-paragraph= <Option-Key-q>
|
||
|
flash-paren= <Control-Key-0>
|
||
|
run-module= <Key-F5>
|
||
|
run-custom= <Shift-Key-F5>
|
||
|
check-module= <Option-Key-x>
|
||
|
zoom-height= <Option-Key-0>
|