use vim effectively
发布日期:2021-11-16 18:19:10 浏览次数:6 分类:技术文章

本文共 592 字,大约阅读时间需要 1 分钟。

mkdir ~/.vim_runtime

svn co svn://orangoo.com/vim ~/.vim_runtime
cat ~/.vim_runtime/install.sh
sh ~/.vim_runtime/install.sh linux
The vimrc can be template and you can modify to adapt to your custome casually.
using gid to search where the function is called :
three steps : 1 apt-get install id-utils 
                    2 mkid in sourcetree
                    3 modify vimrc , set grepprg=gid
Now you can search all you want to  fastly.

or use ctags + cscope:

find $(pwd) -name "*.cpp" -o -name "*.java" -o -name "*.h" -o -name "*.mk" >    cscope.files ( can be customized)
cscope -bkq -i cscope.files
ctags -R

Ctrl+R+W get cur word.

转载地址:https://blog.csdn.net/taoshengyang/article/details/6317690 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:vim map nmap(转)
下一篇:android使用socket使底层和framework通信

发表评论

最新留言

表示我来过!
[***.240.166.169]2024年04月19日 00时51分37秒