Skip to content

Instantly share code, notes, and snippets.

@suvirbhargav
Last active May 9, 2016 17:01
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 suvirbhargav/489717bb890445a83ca5bd5fc3e78312 to your computer and use it in GitHub Desktop.
Save suvirbhargav/489717bb890445a83ca5bd5fc3e78312 to your computer and use it in GitHub Desktop.
my vimrc
execute pathogen#infect()
syntax on
colorscheme darcula
filetype plugin indent on
set guifont=Monospace\ 12
let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
let g:ycm_key_list_select_completion=[]
let g:ycm_key_list_previous_completion=[]
autocmd vimenter * NERDTree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment