您的位置:首页 > 其它

ctags and vim

2016-09-09 09:35 127 查看
1,源码目录下第归检索.

ctags -R *


2,搜索tag并用vim打开:

vim -t <tag>


3,在vim 下的一些操作:

Keyboard command

Action

Ctrl-]

Jump to the tag underneath the cursor

:ts <tag> <RET>

Search for a particular tag

:tn

Go to the next definition for the last tag

:tp

Go to the previous definition for the last tag

:ts

List all of the definitions of the last tag

Ctrl-t

Jump back up in the tag stack

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: