Skip to content

Instantly share code, notes, and snippets.

@geetduggal
Last active September 3, 2023 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geetduggal/d9702695b96b13532a291d74f7a38e38 to your computer and use it in GitHub Desktop.
Save geetduggal/d9702695b96b13532a291d74f7a38e38 to your computer and use it in GitHub Desktop.
" 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
autocmd! BufRead,BufNewFile *.cwl setfiletype yaml
" Better tab completion of file lists
set wildmode=longest,list
" Set the colorscheme
colo koehler
set noswapfile
execute pathogen#infect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment