summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@anevia.com>2016-02-16 11:14:42 +0100
committerHugues Hiegel <hugues.hiegel@anevia.com>2016-02-16 11:14:42 +0100
commit348907c3794fde699a264359e93dea5c26b9580a (patch)
treef60c33e05708bf1169c8408a220a1128dc49ea74
parentf494cc65545a041d7500ef3fc8463d7d9d53040a (diff)
[cscope] Add binding to reset cscope connection (== refresh database)
-rw-r--r--vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index e66319a..58a1c4e 100644
--- a/vimrc
+++ b/vimrc
@@ -218,6 +218,7 @@ function! LoadTags()
"cscope add $PWD/cscope.out
" cscope macros
+ nmap <ESC>C :!cscope -bqu<CR>:cs reset<CR>
nmap <ESC>c :execute CscopeSearch(expand("<cword>"))<CR>
" search definitions of word under cursor