Skip to content

Instantly share code, notes, and snippets.

@royingantaginting
Created July 27, 2016 10:05
Show Gist options
  • Save royingantaginting/e05b2b642a1b51b86f6500008866b0b5 to your computer and use it in GitHub Desktop.
Save royingantaginting/e05b2b642a1b51b86f6500008866b0b5 to your computer and use it in GitHub Desktop.
Vim with 4 spaces width tab
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment