aboutsummaryrefslogtreecommitdiffstats
path: root/dotvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotvimrc')
-rw-r--r--dotvimrc12
1 files changed, 9 insertions, 3 deletions
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 <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