summaryrefslogtreecommitdiffstats
path: root/Tools/idle/Bindings.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-13 03:45:15 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-13 03:45:15 (GMT)
commitb341888971cfe75f273138dae9907889c83433fc (patch)
treeb42bb316de331da689681a0b8c36a79a0e19a54f /Tools/idle/Bindings.py
parent5af7a72d8bc0b7308e2342bdd97bda6d0d190222 (diff)
downloadcpython-b341888971cfe75f273138dae9907889c83433fc.zip
cpython-b341888971cfe75f273138dae9907889c83433fc.tar.gz
cpython-b341888971cfe75f273138dae9907889c83433fc.tar.bz2
Add new command, "Open module". You select or type a module name,
and it opens the source.
Diffstat (limited to 'Tools/idle/Bindings.py')
-rw-r--r--Tools/idle/Bindings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/idle/Bindings.py b/Tools/idle/Bindings.py
index 4f833c6..795d837 100644
--- a/Tools/idle/Bindings.py
+++ b/Tools/idle/Bindings.py
@@ -57,6 +57,8 @@ emacs_bindings = [
"<<open-new-window>>", "<Control-x><Control-n>"),
("file", "Open...", "C-x C-f",
"<<open-window-from-file>>", "<Control-x><Control-f>"),
+ ("file", "Open module...", "C-x C-m",
+ "<<open-module>>", "<Control-x><Control-m>"),
("file", None, None),
("file", "Save", "C-x C-s",