当前位置: 首页 > 工具软件 > vim-ide > 使用案例 >

vim-ide

邢起运
2023-12-01

http://code.google.com/p/vimide/

ubuntu 12.04 LTS  vim-ide 0.5 安装ok

winmanger:http://www.vim.org/scripts/script.php?script_id=95

map <c-w><c-f> :FirstExplorerWindow<cr>
map <c-w><c-b> :BottomExplorerWindow<cr>
map <c-w><c-t> :WMToggle<cr>


更新cscope和ctags的索引文件的脚本:

#!/bin/sh
find . -name "*.h" -o -name "*.c" -o -name "*.cc" > cscope.files
cscope -bkq -i cscope.files
ctags -R

if has("cscope")
" add any database in current directory
set nocsverb
if filereadable("cscope.out")
cs add cscope.out
elseif filereadable("../cscope.out")
cs add ../cscope.out
elseif filereadable("../../cscope.out")
cs add ../../cscope.out
elseif filereadable("../../../cscope.out")
cs add ../../../cscope.out
endif
set csverb
set csto=0
endif
 类似资料: