Created
November 5, 2016 20:50
-
-
Save yunwilliamyu/674385ee9596295af4b5a4719e9cf540 to your computer and use it in GitHub Desktop.
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
set laststatus=2 | |
set statusline=%<%F%=\ [%M%R%H%Y]\ (%(%l,%c%)) | |
syntax on | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set smarttab | |
set expandtab | |
set softtabstop=4 | |
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class | |
set hlsearch | |
autocmd FileType mail setlocal textwidth=72 | |
" Some Linux distributions set filetype in /etc/vimrc. | |
" Clear filetype flags before changing runtimepath to force Vim to reload them. | |
filetype off | |
filetype plugin indent off | |
set runtimepath+=$GOROOT/misc/vim | |
filetype plugin indent on | |
syntax on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment