各位大大:
我是ubuntu新手,在使用vim+ctags进行函数定义跳转(ctrl+])时,如果搜到多个结果,vim将跳到其中一个,并显示:已找到tag:1/100或更多。
以前使用Fedora遇到这种情况时,vim会显示一个list:1 ……; 2 ……; 输入数字并回车将跳到对应文件。
ubuntu下如何让vim也显示找到的tag列表啊?
谢谢!
ctrl+]跳转问题
-
- 帖子: 1
- 注册时间: 2008-12-04 17:28
-
- 帖子: 723
- 注册时间: 2006-04-11 9:01
Re: ctrl+]跳转问题
vim默认是跳转到第一个tag,要想列出所有同名的tag,这样就可以了:
代码: 全选
:cstag tagname
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
http://hi.baidu.com/wienerlee