Created
July 15, 2015 23:12
-
-
Save voronoipotato/4a6271435445cd2e882a to your computer and use it in GitHub Desktop.
.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 Settings | |
filetype off | |
call pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
""" End Pathogen Settings | |
""" Airline Settings | |
set laststatus=2 " statusline appears even without page split | |
""" End Airline Settings | |
""" GUNDO | |
nnoremap <F5> :GundoToggle<CR> | |
""" NERDTree | |
map <C-n> :NERDTreeToggle<CR> | |
""" Syntastic Settings | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
""" End Syntastic Settings | |
colorscheme BadWolf | |
syntax enable | |
set number | |
set showmatch " highlight matching [{()}] | |
set showcmd | |
set wildmenu " visual autocomplete for command menu | |
set lazyredraw " redraw only when we need to. | |
set incsearch " search as characters are entered | |
set hlsearch " highlight matches | |
set foldenable " enable folding | |
set foldlevelstart=10 " open most folds by default | |
set foldnestmax=10 " 10 nested fold max | |
set expandtab " turns tabs in to spaces | |
set tabstop=2 " sets tabstop to 2 spaces | |
set shiftwidth=2 " sets the indentation to 2 spaces | |
"space open/closes folds | |
nnoremap <space> za | |
imap jj <esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment