From da81a8bcef74c299a37e99ed21d6fed75d7846e8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 16 Dec 2013 19:27:53 +0100 Subject: add NERDTree --- dotvimrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'dotvimrc') diff --git a/dotvimrc b/dotvimrc index 745a709..a03c092 100644 --- a/dotvimrc +++ b/dotvimrc @@ -64,6 +64,7 @@ NeoBundle 'ciaranm/detectindent' "adapts tabstop and this shit automagically "check if code is bad NeoBundle "scrooloose/syntastic" +NeoBundle "scrooloose/nerdtree" " Nice tabulation NeoBundle 'godlygeek/tabular' @@ -77,6 +78,9 @@ let g:syntastic_warning_symbol='⚠' let g:syntastic_c_compiler = 'clang' let g:syntastic_c_compiler_options = ' -std=c90 ' let g:syntastic_c_config_file = '.clang_complete' +let g:syntastic_cpp_compiler = 'clang++' +let g:syntastic_cpp_compiler_options = ' ' +let g:syntastic_cpp_config_file = '.clang_complete' let g:Powerline_symbols = 'unicode' NeoBundle 'Tag-Signature-Balloons' @@ -194,9 +198,6 @@ map :let @/ = expand(''):3match none highlight ManualHighlight ctermbg=darkcyan guibg=darkcyan map :exe printf('match ManualHighlight /%s/', escape(expand(''), '/\')) -noremap :SyntasticToggle -noremap :NERDTreeToggle - "if has("gui_running") " " auto highlight word under cursor " highlight WordUnderCursor ctermbg=darkred guibg=#552211 @@ -235,6 +236,11 @@ map ]b :bnext "GIT timelapse map gt :call TimeLapse() +noremap n :NERDTreeToggle + +noremap s :SyntasticToggle + + "very magic search map / /\v -- cgit v1.2.3