当前位置:网站首页>[Development Miscellaneous][Editor][Code Reading]ctags & vim
[Development Miscellaneous][Editor][Code Reading]ctags & vim
2022-08-04 06:32:00 【xcy6666】
~/.ctags
ctags --recurse=yes --exclude=.git
generate tags for vim
- cadd config at ~/
$ cat ~/.tags
--recurse=yes
--exclude=.git
--exclude=BUILD
--exclude=.svn
--exclude=*.js
--exclude=vendor/*
--exclude=node_modules/*
--exclude=db/*
--exclude=log/*
--exclude=\*.min.\*
--exclude=\*.swp
--exclude=\*.bak
--exclude=\*.pyc
--exclude=\*.class
--exclude=\*.sln
--exclude=\*.csproj
--exclude=\*.csproj.user
--exclude=\*.cache
--exclude=\*.dll
--exclude=\*.pdb
- generate
$ cd ~/ws/proj/
$ ctags
# ctags --recurse=yes --exclude=.git
- start navigate tag
$ vim -t <main>
- list all tags
:tags
- jump to current
<tag>
definitionctrl + ]
- jump back to prev tag
ctrl + T
- select tag
:ts <tag>
- jump to next match
:tn
- jump to previou match
:tp
- jump directly
:tag main
, jump to main directly:tag /^get
, jump to lable match^get
, i.e. start with ‘get’
边栏推荐
- "A minute" Copy siege lion log 】 【 run MindSpore LeNet model
- How to grow into a senior engineer?
- 第三章 标准单元库(下)
- [开发杂项][VS Code]remote-ssd retry failed
- jdbc:mysql://localhost:3306/student?serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8时报错
- C语言无符号整型运算
- IEEE802.X协议族
- 管道重定向
- Pytest common plug-in
- LeetCode_Nov_3rd_Week
猜你喜欢
随机推荐
Cut the hit pro subtitles export of essays
指针的运算【C语言】
No matching function for call to 'RCTBridgeModuleNameForClass'
代码庆端午--粽你心意
MNIST handwritten digit recognition, sorted by from two to ten
Deep Learning Theory - Overfitting, Underfitting, Regularization, Optimizers
FAREWARE ADDRESS
深度学习,“粮草”先行--浅谈数据集获取之道
[Development miscellaneous][Debug]debug into kernel
LeetCode_Nov_4th_Week
结构体内存对齐-C语言
DRA821 环境搭建
管道重定向
2020-03-27
const int * a 与 int * const a 的定义与区别
JDBC第一学之进行数据库连接时出现The server time zone.....解决办法
2020-03-27
CSDN大礼包--高校圆桌派大礼包
Brief description of database and common operation guide
题目1000:输入两个整数a和b,计算a+b的和,此题是多组测试数据