Skip to content

Instantly share code, notes, and snippets.

@yunwilliamyu
Created November 5, 2016 20:50
Show Gist options
  • Save yunwilliamyu/674385ee9596295af4b5a4719e9cf540 to your computer and use it in GitHub Desktop.
Save yunwilliamyu/674385ee9596295af4b5a4719e9cf540 to your computer and use it in GitHub Desktop.
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