Skip to content

Instantly share code, notes, and snippets.

@glennzw
Last active December 15, 2015 09:29
Show Gist options
  • Save glennzw/5238672 to your computer and use it in GitHub Desktop.
Save glennzw/5238672 to your computer and use it in GitHub Desktop.
Tell vim to use 4 spaces for <tab>
:set expandtab
:retab
:w
cat >> ~/.vimrc
set listchars=tab:>-,trail:_ list " Show tabs and trailing characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment