VIM settings for proper style

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024

Details are here: http://www.python.org/peps/pep-0008.html :set expandtabs :set shiftwidth=4 Ctrl-V(Tab) if you need a real tab Or CTRL-I and CTRL-D for spaces instead of a tab Try out « and » too. Automatic completion: CTRL-P Trim blanks: :%s/\s+$//