Create a gist now

Instantly share code, notes, and snippets.

@geetduggal /.vimrc
Last active Feb 10, 2017

" curl https://gist.githubusercontent.com/geetduggal/d9702695b96b13532a291d74f7a38e38/raw >> ~/.vimrc
syntax on
" Basic space and tab preferences
set ts=4
set sw=4
set expandtab
" Get rid of typically undesirable whitespace
if has("autocmd")
" remove trailing white spaces
autocmd BufWritePre * :%s/\s\+$//e
endif
" Handle Streamline appropriately
au BufRead,BufNewFile *._js setfiletype javascript
" Better tab completion of file lists
set wildmode=longest,list
" Set the colorscheme
colo koehler
set noswapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment