]> Untitled Git - vimfiles.git/commitdiff
Remove cscope settings
authorPhilippe Hürlimann <p@hurlimann.org>
Thu, 5 Aug 2021 20:30:30 +0000 (22:30 +0200)
committerPhilippe Hürlimann <p@hurlimann.org>
Thu, 5 Aug 2021 20:30:30 +0000 (22:30 +0200)
init.vim

index e473733fdab9630839e3d01c44c0c1b4d71991bb..b2bda97ec8fc14cddac7bb8f5b52465f70e854d7 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -110,29 +110,6 @@ set nobackup
 
 set hlsearch
 
-if has("cscope")
-    set csto=0
-    set cst
-    set nocsverb
-    if filereadable("cscope.out")
-        cs add cscope.out
-    elseif $CSCOPE_DB != ""
-        cs add $CSCOPE_DB
-    endif
-    set csverb
-
-    "s: Find this C symbol
-    "g: Find this definition
-    "d: Find functions called by this function
-    "c: Find functions calling this function
-    "a: Find places where this symbol is assigned a value
-    nnoremap <leader>s :cscope find s <cword><CR>
-    nnoremap <leader>g :cscope find g <cword><CR>
-    nnoremap <leader>d :cscope find d <cword><CR>
-    nnoremap <leader>c :cscope find c <cword><CR>
-    nnoremap <leader>a :cscope find a <cword><CR>
-endif
-
 nnoremap <C-S-N> :NERDTreeToggle<CR>
 
 let g:vista_default_executive = "lcn"