python-mode-map
python-mode-map is a variable defined in `
python.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Keymap for `python-mode'.
Value:
(keymap
(menu-bar keymap
(Python menu-item "Python"
(keymap "Python"
(Shift\ region\ left menu-item "Shift region left" python-indent-shift-left :enable mark-active :help "Shift region left by a single indentation step")
(Shift\ region\ right menu-item "Shift region right" python-indent-shift-right :enable mark-active :help "Shift region right by a single indentation step")
(nil menu-item "-")
(Start\ of\ def/class menu-item "Start of def/class" beginning-of-defun :help "Go to start of outermost definition around point")
(End\ of\ def/class menu-item "End of def/class" end-of-defun :help "Go to end of definition around point")
(Mark\ def/class menu-item "Mark def/class" mark-defun :help "Mark outermost definition around point")
(Jump\ to\ def/class menu-item "Jump to def/class" imenu :help "Jump to a class or function definition")
(nil-7 menu-item "--")
(Skeletons menu-item "Skeletons"
(keymap "Skeletons"))
(nil-9 menu-item "---")
(Start\ interpreter menu-item "Start interpreter" run-python :help "Run inferior Python process in a separate buffer")
(Switch\ to\ shell menu-item "Switch to shell" python-shell-switch-to-shell :help "Switch to running inferior Python process")
(Eval\ string menu-item "Eval string" python-shell-send-string :help "Eval string in inferior Python session")
(Eval\ buffer menu-item "Eval buffer" python-shell-send-buffer :help "Eval buffer in inferior Python session")
(Eval\ region menu-item "Eval region" python-shell-send-region :help "Eval region in inferior Python session")
(Eval\ defun menu-item "Eval defun" python-shell-send-defun :help "Eval defun in inferior Python session")
(Eval\ file menu-item "Eval file" python-shell-send-file :help "Eval file in inferior Python session")
(Debugger menu-item "Debugger" pdb :help "Run pdb under GUD")
(nil-18 menu-item "----")
(Check\ file menu-item "Check file" python-check :help "Check file for errors")
(Help\ on\ symbol menu-item "Help on symbol" python-eldoc-at-point :help "Get help on symbol at point")
(Complete\ symbol menu-item "Complete symbol" completion-at-point :help "Complete symbol before point"))
:help "Python-specific Features"))
(27 keymap
(9 . completion-at-point)
(24 . python-shell-send-defun))
(backtab . python-indent-dedent-line)
(127 . python-indent-dedent-line-backspace)
(3 keymap
(6 . python-eldoc-at-point)
(22 . python-check)
(26 . python-shell-switch-to-shell)
(12 . python-shell-send-file)
(3 . python-shell-send-buffer)
(18 . python-shell-send-region)
(19 . python-shell-send-string)
(16 . run-python)
(20 keymap
(119 . python-skeleton-while)
(116 . python-skeleton-try)
(109 . python-skeleton-import)
(105 . python-skeleton-if)
(102 . python-skeleton-for)
(100 . python-skeleton-def)
(99 . python-skeleton-class))
(62 . python-indent-shift-right)
(60 . python-indent-shift-left)
(10 . imenu))
(remap keymap
(backward-up-list . python-nav-backward-up-list)
(forward-sentence . python-nav-forward-block)
(backward-sentence . python-nav-backward-block)))