Saturday, February 4, 2012

Vim Setup for Python - Part 2

A quick follow up of my previous post:

Tagbar install and shortcut

1. Install ctags
2. Download Tagbar from
3. Install Tagbar using vim -c 'so %' -c 'q' tagbar.vmb
4. Add nmap <F8> :TagbarToggle<CR> to your $HOME/.vimrc

Shortcut to fix indentation

1. Add map <F7> mzgg=G`z<CR> to your $HOME/.vimrc

Tab-completion of Python code

1. Download latest version of Pydiction
2. Install Pydiction