Thursday, July 24, 2008

And the ultimate Python IDE is... VIM?

I just came across a great post detailing how to make VIM even better suited for writing Python at sontek

New commands

Thew new keystrokes and commands provided by the tweaks in the above post:
  • Ctrl+LeftArrow, Ctrl+RightArrow: Jump to the method/property under the cursor in the system libraries and back (after making and loading the tags file)
  • Ctrl+Space: code completion
  • <Leader>pw and <Leader>pW: Show the pydoc for the expression under the cursor (default <Leader> is '\') after installing pydoc.vim
  • ALT+LeftArrow, ALT+RightArrow: move between open tabs
  • F7, Shift+F7: Add/remove breakpoint.
  • !python % (% is the current file, it can be replaced with another filename)

No comments:

Post a Comment