当前位置:网站首页>[开发杂项][编辑器][代码阅读]ctags&vim
[开发杂项][编辑器][代码阅读]ctags&vim
2022-08-04 05:30: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’
边栏推荐
- 语音驱动嘴型与面部动画生成的现状和趋势
- Brief description of database and common operation guide
- 中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
- MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
- Windows10重置MySQL用户密码
- PyTorch
- Endnote编辑参考文献
- MNIST手写数字识别 —— 图像分析法实现二分类
- TensorFlow: tf.ConfigProto() and Session
- 理想的生活
猜你喜欢
Cut the hit pro subtitles export of essays
浅谈外挂常识和如何防御
AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation
【论文阅读】Multi-View Spectral Clustering with Optimal Neighborhood Laplacian Matrix
Pytorch问题总结
LeetCode_Nov_3rd_Week
Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience
Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience
MNIST手写数字识别 —— 图像分析法实现二分类
数据库的简述与常用操作指南
随机推荐
DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better 图像去模糊
度量学习(Metric learning、损失函数、triplet、三元组损失、fastreid)
MOOSE平台官方第二个例子分析——关于创建Kernel,求解对流扩散方程
Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions
深度学习理论 —— 初始化、参数调节
如何成长为高级工程师?
【CV-Learning】Object Detection & Instance Segmentation
[CV-Learning] Convolutional Neural Network Preliminary Knowledge
深度确定性策略梯度(DDPG)
MNIST Handwritten Digit Recognition - Image Analysis Method for Binary Classification
Android foundation [Super detailed android storage method analysis (SharedPreferences, SQLite database storage)]
TypeError: load() missing 1 required positional argument: ‘Loader‘
tensorRT教程——使用tensorRT OP 搭建自己的网络
LeetCode_Dec_3rd_Week
Copy攻城狮5分钟在线体验 MindIR 格式模型生成
Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience
【Copy攻城狮日志】飞浆学院强化学习7日打卡营-学习笔记
No matching function for call to 'RCTBridgeModuleNameForClass'
"A minute" Copy siege lion log 】 【 run MindSpore LeNet model
AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation