Create a gist now

Instantly share code, notes, and snippets.

@geetduggal /.vimrc
Last active Aug 4, 2017

" curl >> ~/.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
" Handle Streamline appropriately
au BufRead,BufNewFile *._js setfiletype javascript
autocmd! BufRead,BufNewFile *.cwl setfiletype yaml
" 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