Skip to content

Instantly share code, notes, and snippets.

@chmanie
Created September 2, 2014 07:31
Show Gist options
  • Select an option

  • Save chmanie/90ce0c0aeb0af3fb32e9 to your computer and use it in GitHub Desktop.

Select an option

Save chmanie/90ce0c0aeb0af3fb32e9 to your computer and use it in GitHub Desktop.
My .vimrc
" pathogen
execute pathogen#infect()
" syntax highlighting
syntax on
filetype plugin indent on
" font settings
set guifont=Source\ Code\ Pro\ for\ Powerline:h16
" line numbers
set number
" colorscheme
" http://chriskempson.github.io/base16/
set background=dark
colorscheme base16-solarized
" activate airline tabs
let g:airline#extensions#tabline#enabled = 1
" powerline fonts
let g:airline_powerline_fonts = 1
" Toggle NERDTree with ctrl+n
map <C-n> :NERDTreeToggle<CR>
" Close NERDTree if it's the only open tab
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
" Start NERDTree in current root dir
let g:NERDTreeChDirMode=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment