Created
April 14, 2017 13:33
-
-
Save arnabdas/d63c8ac03140d3a4da8bee18d2825ce3 to your computer and use it in GitHub Desktop.
Insert spaces for tab's in VIM editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" http://stackoverflow.com/questions/234564/tab-key-4-spaces-and-auto-indent-after-curly-braces-in-vim | |
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