Well, speaking of tabs, in vim (.vimrc), I have: set tabstop=4 set expandtab This sets up vim to "on tab, take the cursor to the next appropriate tabstop, but to insert spaces instead of tabs when doing so". This is always just what I want. C/