diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-16 19:27:53 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-16 19:27:53 +0100 |
commit | da81a8bcef74c299a37e99ed21d6fed75d7846e8 (patch) | |
tree | d466bf1596f84c0d6e4efa99327e939dfbbaed5b | |
parent | 644f67232c149f460d2853b7929c06e9107aca36 (diff) | |
download | vimrc-da81a8bcef74c299a37e99ed21d6fed75d7846e8.tar.gz vimrc-da81a8bcef74c299a37e99ed21d6fed75d7846e8.tar.bz2 vimrc-da81a8bcef74c299a37e99ed21d6fed75d7846e8.zip |
add NERDTree
-rw-r--r-- | dotvimrc | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 <F5> :let @/ = expand('<cword>')<CR>:3match none<CR> highlight ManualHighlight ctermbg=darkcyan guibg=darkcyan map <F6> :exe printf('match ManualHighlight /%s/', escape(expand('<cword>'), '/\'))<CR> -noremap <F7> :SyntasticToggle<CR> -noremap <F8> :NERDTreeToggle<CR> - "if has("gui_running") " " auto highlight word under cursor " highlight WordUnderCursor ctermbg=darkred guibg=#552211 @@ -235,6 +236,11 @@ map ]b :bnext<CR> "GIT timelapse map <Leader>gt :call TimeLapse()<cr> +noremap <Leader>n :NERDTreeToggle<CR> + +noremap <Leader>s :SyntasticToggle<CR> + + "very magic search map <Leader>/ /\v |