当前位置:网站首页>[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’
边栏推荐
- CAS无锁队列的实现
- [开发杂项][编辑器][代码阅读]ctags&vim
- The Unity of ML - agents interpret parameter Settings
- A code example of the PCL method in the domain of DG (Domain Generalization)
- "A minute" Copy siege lion log 】 【 run MindSpore LeNet model
- LeetCode_Nov_2nd_Week
- 第三章 标准单元库(上)
- C语言无符号整型运算
- 亚马逊云科技Build On-Amazon Neptune基于知识图谱的推荐模型构建心得
- Shell脚本执行的三种方式
猜你喜欢
随机推荐
JDBC第一学之进行数据库连接时出现The server time zone.....解决办法
Postgresql snapshot
How to grow into a senior engineer?
Introduction to Convolutional Neural Networks
C语言无符号整型运算
target has libraries with conflicting names: libcrypto.a and libssl.a.
[开发杂项][VS Code]remote-ssd retry failed
Vmmem 进程(WSL2)消耗内存巨大
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
2020-03-27
MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
bind()系统调用的用处
[Development miscellaneous][Debug]debug into kernel
strlen 转义字符
LeetCode_Nov_2nd_Week
MNIST手写数字识别 —— 图像分析法实现二分类
MNIST手写数字识别 —— 从二分类到十分类
MNIST handwritten digit recognition, sorted by from two to ten
[Daily office][shell] Common code snippets
Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience









