Skip to content

Instantly share code, notes, and snippets.

@thestonefox
Last active May 29, 2019 07:02
Show Gist options
  • Save thestonefox/8883472 to your computer and use it in GitHub Desktop.
Save thestonefox/8883472 to your computer and use it in GitHub Desktop.
Basic .vimrc with pathogen, solarized theme, nerdtree
execute pathogen#infect()
syntax on
set number
set expandtab
set tabstop=2
set background=dark
set t_Co=256
let g:solarized_termcolors=256
let g:solarized_termtrans=1
colorscheme solarized
autocmd vimenter * NERDTree
autocmd vimenter * if !argc() | NERDTree | endif
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