当前位置:网站首页>[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’
边栏推荐
- MNIST手写数字识别 —— 从零构建感知机实现二分类
- The Unity of ML - agents interpret parameter Settings
- LeetCode_Dec_1st_Week
- [English learning][sentence] good sentence
- IEEE802.X协议族
- [Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
- 集合--LinkedList
- The second official example analysis of the MOOSE platform - about creating a Kernel and solving the convection-diffusion equation
- 结构体传参-C语言
- 线性表之动态数组(ArrayList)的自实现
猜你喜欢
随机推荐
Pipe redirection
A code example of the PCL method in the domain of DG (Domain Generalization)
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
IDEA中创建web项目实现步骤
MVC自定义配置
亚马逊云科技Build On-Amazon Neptune基于知识图谱的推荐模型构建心得
Machine Learning - Processing of Text Labels for Classification Problems (Feature Engineering)
亚马逊云科技 Build On 2022 - AIot 第二季物联网专场实验心得
LeetCode_22_Apr_2nd_Week
Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience
Deep Learning Theory - Initialization, Parameter Adjustment
LeetCode_Dec_2nd_Week
MNIST handwritten digit recognition, sorted by from two to ten
C语言数组的深度分析
arm learning-1-development board
LeetCode_Nov_5th_Week
第二章 STA相关概念
FAREWARE ADDRESS
MNIST Handwritten Digit Recognition - Lenet-5's First Commercial Grade Convolutional Neural Network
彻底删除MySQL教程









