码迷,mamicode.com
首页 > 系统相关 > 详细

ctags and vim

时间:2016-09-09 09:58:38      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

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

ctags and vim

标签:

原文地址:http://www.cnblogs.com/skynext/p/5855349.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!