aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.ovh>2016-10-05 19:32:41 +0200
committerNeodarZ <neodarz@neodarz.ovh>2016-10-05 19:32:41 +0200
commit3d0e2a30a0aad350fd5d7d7fb40b9332aadf72c3 (patch)
treef24e95296c17d3838230ccdbff80ddc09d8b32d2 /vim
parentf55e840e336f6260f420e1198c4f7e01ad85a3c1 (diff)
downloaddotfiles-3d0e2a30a0aad350fd5d7d7fb40b9332aadf72c3.tar.xz
dotfiles-3d0e2a30a0aad350fd5d7d7fb40b9332aadf72c3.zip
Update
Diffstat (limited to 'vim')
-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"