vim: add ccs0 (create) and kcs0 (kill)

This commit is contained in:
2020-01-09 08:44:01 +00:00
parent 252dfdee9f
commit 43af64d221

2
vimrc
View File

@@ -363,6 +363,8 @@ if has("cscope")
endif
set csverb
map ,scs0 :cs add cscope.out<CR>
map ,kcs0 :cs kill 0<CR>
map ,ccs0 :!cscope -b -q -R<CR>
map ,fs :cs find s <C-R>=expand("<cword>")<CR><CR>
map ,fg :cs find g <C-R>=expand("<cword>")<CR><CR>
map ,fd :cs find d <C-R>=expand("<cword>")<CR><CR>