diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -46,6 +46,10 @@ filetype plugin indent on " ---------------------------------------------------------------------------- " ------------------ My bindings --------------------------------------------- " ---------------------------------------------------------------------------- + +" using @ is painful +nmap \\ @ + nmap >> <C-]> nmap << <C-t> @@ -65,9 +69,11 @@ au TabLeave * let g:lasttab = tabpagenr() " ------------------ CSCOPE -------------------------------------------------- " ---------------------------------------------------------------------------- if has("cscope") - set csprg=/bin/cscope + set cscopeprg=/bin/cscope set cscopetag - set csto=0 + set cscopetagorder=0 " cscope db before tags + set nocscopeverbose " *dont* show msg when any other cscope db added + " add any database in current directory if filereadable("cscope.out") cs add cscope.out @@ -75,9 +81,6 @@ if has("cscope") cs add $CSCOPE_DB endif - "show msg when any other cscope db added - set cscopeverbose - " 's' symbol: find all references to the token under cursor " 'g' global: find global definition(s) of the token under cursor " 'c' calls: find all calls to the function name under cursor |