From the emacs mode for editing Python code. See: https://launchpad.net/python-mode
Main Keybindings
- C-j: Insert a new line with the same indentation level as the current line
- RET: Insert a new line with the same indentation level as the current line
- C-M-a: Go to the beginning of the current function or class
- C-M-e: Go to the end of the current function or class
- C-M-h: Mark the current function or class for copying, etc.
- C-M-x: Execute the current function or class
- C-c C-b: Submit a bug report
- C-c C-c: Execute the buffer (i.e., the file being displayed)
- C-c C-d: Trace the stack of the process being executed
- C-c C-h: Get context-based help
- C-c TAB: Indent a highlighted (or marked) region
- C-c C-k: Mark a block of text. Using this at the head of a class or function definition will mark the entire block.
- C-c C-l: Shift the region to the left. If the cursor is in the middle of a region, the lower half of the region will shift.
- C-c RET: Execute the current file, opening a new window to show the output.
- C-c C-n: Jump to the next statement.
- C-c C-p: Jump to the previous statement.
- C-c C-r: Shift the region to the right. If the cursor is in the middle of a region, the lower half of the region will shift.
- C-c C-s: Execute a Python command.
- C-c C-t: Toggle shells
- C-c C-u: Go up one block
- C-c C-v: List the version of the Python mode
- C-c C-w: Run PyChecker
- C-c !: Open the Python interactive shell
- C-c #: Comment the highlighted (marked) region
- C-c :: Check the indentation off-set
- C-c <: Shift the region to the left
- C-c >: Shift the region to the right
- C-c ?: Show Python mode documentation
- C-c |: Execute the highlighted (marked) part of the current program.
Last modified: Mon Jan 4 09:55:15 CET 2010