Created
April 8, 2016 04:10
-
-
Save zhiguangwang/4950c9fdfb30cd12762cf08bc3769f26 to your computer and use it in GitHub Desktop.
Vim configurations with file indent and syntax highlighting.
This file contains 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
" Enable different settings for different file types | |
" See: http://vim.wikia.com/wiki/Indenting_source_code | |
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 | |
" Enable syntax highlighting | |
syntax on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment