当前位置:网站首页>[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’
边栏推荐
猜你喜欢
【Copy攻城狮日志】“一分钟”跑通MindSpore的LeNet模型
target has libraries with conflicting names: libcrypto.a and libssl.a.
Copy攻城狮的年度之“战”|回顾2020
【Copy攻城狮日志】飞浆学院强化学习7日打卡营-学习笔记
剪映专业版字幕导出随笔
No matching function for call to 'RCTBridgeModuleNameForClass'
Detailed steps to install MySQL
Completely remove MySQL tutorial
2020-03-27
Pipe redirection
随机推荐
Tensorflow/Pytorch安装(Anaconda环境下,无版本冲突,亲测有效)
MNIST手写数字识别 —— ResNet-经典卷积神经网络
第二章 STA相关概念
A code example of the PCL method in the domain of DG (Domain Generalization)
MNIST手写数字识别 —— 图像分析法实现二分类
迅雷关闭自动更新
IDEA中创建web项目实现步骤
Copy Siege Lion 5-minute online experience MindIR format model generation
MNIST手写数字识别 —— 从二分类到十分类
亚马逊云科技Build On-Amazon Neptune基于知识图谱的推荐模型构建心得
Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?
(导航页)OpenStack-M版-双节点手工搭建-附B站视频
target has libraries with conflicting names: libcrypto.a and libssl.a.
IEEE802.X协议族
[Daily Office][Miscellaneous][vscode]tab space
[Copy Siege Lion Log] Flying Pulp Academy Intensive Learning 7-Day Punch Camp-Study Notes
安装pyspider后运行pyspider all后遇到的问题
arm-3-中断体系结构
Windows10重置MySQL用户密码
2020-03-27