vim 中快捷键跟新cscope数据库

649阅读 0评论2010-07-14 waderwang
分类:LINUX

let g:CurrentDir = getcwd()
let g:CscopeAddString = "cs add " . g:CurrentDir . "/cscope.out " . g:CurrentDir
:exe g:CscopeAddString
nnoremap :!cscope -Rb $CurrentDir :cs kill 0 :exe CscopeAddString
上一篇:C# winform实现从控制台输出
下一篇:Win7下打开dbgPrint