aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/.vimrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index fde799d..13611ec 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,6 +1,21 @@
execute pathogen#infect()
autocmd vimenter * NERDTree
+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
+
+let g:ycm_show_diagnostics_ui = 0
+
+nnoremap <F5> :GundoToggle<CR>
+
+map <C-n> :NERDTreeToggle<CR>
+
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" MiniVim
" Details on : https://github.com/sd65/MiniVim
@@ -42,6 +57,9 @@ set fileencoding=utf-8 " The encoding written to file.
set synmaxcol=300 " Don't try to highlight long lines
set guioptions-=T " Don't show toolbar in Gvim
set iskeyword+=\- " Complete words containing a dash
+set tabstop=4
+set softtabstop=0 noexpandtab
+set shiftwidth=4
" Open all cmd args in new tabs
execute ":silent tab all"