Skip to content

Instantly share code, notes, and snippets.

@ricventu
Last active June 1, 2019 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricventu/7948ce680c628a5cff5b891b910256c4 to your computer and use it in GitHub Desktop.
Save ricventu/7948ce680c628a5cff5b891b910256c4 to your computer and use it in GitHub Desktop.
Vim config file
" ~/.vimrc
set tabstop=4 " The width of a TAB is set to 4.
" Still it is a \t. It is just that
" Vim will interpret it to be having
" a width of 4.
set shiftwidth=4 " Indents will have a width of 4
set softtabstop=4 " Sets the number of columns for a TAB
set expandtab " Expand TABs to spaces
syntax on " Enable syntax color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment