当前位置:网站首页>[开发杂项][编辑器][代码阅读]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’
边栏推荐
- 2020-10-29
- Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience
- tensorRT教程——tensor RT OP理解(实现自定义层,搭建网络)
- Attention Is All You Need(Transformer)
- 剪映专业版字幕导出随笔
- 【代码学习】
- [CV-Learning] Semantic Segmentation
- LeetCode_22_Apr_4th_Week
- Golang环境变量设置(二)--GOMODULE&GOPROXY
- "A minute" Copy siege lion log 】 【 run MindSpore LeNet model
猜你喜欢
随机推荐
lstm pipeline 过程理解(输入输出)
Thunderbolt turns off automatic updates
Rules.make-适合在编辑模式下看
Various commands such as creating a new user in postgresql
How to get started with MOOSE platform - an example of how to run the official tutorial
TypeError: load() missing 1 required positional argument: ‘Loader‘
光条中心提取方法总结(二)
tensorRT5.15 使用中的注意点
典型CCN网络——efficientNet(2019-Google-已开源)
迅雷关闭自动更新
亚马逊云科技 Build On 2022 - AIot 第二季物联网专场实验心得
A code example of the PCL method in the domain of DG (Domain Generalization)
第三章 标准单元库(上)
基于BiGRU和GAN的数据生成方法
Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions
MNIST Handwritten Digit Recognition - Building a Perceptron from Zero for Two-Classification
How to grow into a senior engineer?
AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation
PostgreSQL schema (Schema)
打金?工作室?账号被封?游戏灰黑产离我们有多近