当前位置:网站首页>[开发杂项][编辑器][代码阅读]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’
边栏推荐
- 审稿意见回复
- 深度学习,“粮草”先行--浅谈数据集获取之道
- Unity ML-agents 参数设置解明
- MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
- Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience
- Attention Is All You Need(Transformer)
- arm-2-基础阶段
- tensorRT5.15 使用中的注意点
- 【CV-Learning】Object Detection & Instance Segmentation
- A code example of the PCL method in the domain of DG (Domain Generalization)
猜你喜欢

Copy Siege Lion 5-minute online experience MindIR format model generation

深度学习,“粮草”先行--浅谈数据集获取之道

Cut the hit pro subtitles export of essays

强化学习中,Q-Learning与Sarsa的差别有多大?

双向LSTM

Attention Is All You Need(Transformer)

Deep Adversarial Decomposition: A Unified Framework for Separating Superimposed Images

第二章 STA相关概念

LeetCode_Dec_2nd_Week

PP-LiteSeg
随机推荐
详解近端策略优化
周志华机器学习
Pytest常用插件
深度学习,“粮草”先行--浅谈数据集获取之道
深度学习理论 —— 初始化、参数调节
中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
LeetCode_Dec_2nd_Week
卷积神经网络入门详解
Pytest common plug-in
代码庆端午--粽你心意
数据库的简述与常用操作指南
MNIST手写数字识别 —— 图像分析法实现二分类
图像resize
arm-2-基础阶段
Halcon缺陷检测
pytorch学习-没掌握的点
基于PyTorch的FCN-8s语义分割模型搭建
MFC读取点云,只能正常显示第一个,显示后面时报错
Code to celebrate the Dragon Boat Festival - Zongzi, your heart
机器学习——分类问题对于文字标签的处理(特征工程)