Created
September 2, 2014 07:31
-
-
Save chmanie/90ce0c0aeb0af3fb32e9 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " 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