Skip to content

Instantly share code, notes, and snippets.

@kfrank
Created December 29, 2014 13:23
Show Gist options
  • Save kfrank/874fced922d9537521fd to your computer and use it in GitHub Desktop.
Save kfrank/874fced922d9537521fd to your computer and use it in GitHub Desktop.
vimrc
`execute pathogen#infect()
syntax on
filetype plugin indent on
set number tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab mousemodel=extend
command W w
autocmd vimenter * NERDTree | wincmd p
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment