summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTony Lownds <tony@lownds.com>2002-09-23 00:57:10 (GMT)
committerTony Lownds <tony@lownds.com>2002-09-23 00:57:10 (GMT)
commitf18efa56437ea50fac959c9dde5055ce05da2237 (patch)
tree32aec9fce438e9e288afe750cc42a461636b3377 /Lib
parent73b9b6679e92e4f43cae6286a067976d03d24863 (diff)
downloadcpython-f18efa56437ea50fac959c9dde5055ce05da2237.zip
cpython-f18efa56437ea50fac959c9dde5055ce05da2237.tar.gz
cpython-f18efa56437ea50fac959c9dde5055ce05da2237.tar.bz2
Added new standard keybinding set for Macs.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/config-keys.def45
1 files changed, 45 insertions, 0 deletions
diff --git a/Lib/idlelib/config-keys.def b/Lib/idlelib/config-keys.def
index ff9da21..4eddd40 100644
--- a/Lib/idlelib/config-keys.def
+++ b/Lib/idlelib/config-keys.def
@@ -99,3 +99,48 @@ tabify-region=<Alt-Key-5>
untabify-region=<Alt-Key-6>
toggle-tabs=<Alt-Key-t>
change-indentwidth=<Alt-Key-u>
+[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>
+end-of-file=<Control-Key-d>
+python-docs=<Key-F1>
+python-context-help=<Shift-Key-F1>
+history-next=<Command-Key-n>
+history-previous=<Shift-Command-Key-n>
+interrupt-execution=<Control-Key-c>
+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>