当前位置:网站首页>[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’
边栏推荐
- Postgresql snapshot
- target has libraries with conflicting names: libcrypto.a and libssl.a.
- No matching function for call to 'RCTBridgeModuleNameForClass'
- MNIST手写数字识别 —— 从零构建感知机实现二分类
- Deep Learning Theory - Overfitting, Underfitting, Regularization, Optimizers
- LeetCode_Dec_2nd_Week
- LeetCode_Nov_4th_Week
- LeetCode_Nov_3rd_Week
- Copy Siege Lion 5-minute online experience MindIR format model generation
- IEEE802.X protocol suite
猜你喜欢

Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?

MOOSE平台官方第二个例子分析——关于创建Kernel,求解对流扩散方程

Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience

题目1000:输入两个整数a和b,计算a+b的和,此题是多组测试数据

安装MySQL的详细步骤

arm-2-基础阶段
![[Copy Siege Lion Log] Flying Pulp Academy Intensive Learning 7-Day Punch Camp-Study Notes](/img/af/05caea638de8d75f6d3b42b3d8e28f.png)
[Copy Siege Lion Log] Flying Pulp Academy Intensive Learning 7-Day Punch Camp-Study Notes

Pipe redirection

安装pyspider后运行pyspider all后遇到的问题

彻底删除MySQL教程
随机推荐
An abstract class, internal classes and interfaces
管道重定向
[English learning][sentence] good sentence
target has libraries with conflicting names: libcrypto.a and libssl.a.
结构体传参-C语言
动态内存管理-C语言
MySQL批量修改时间字段
第二章 STA相关概念
第一章 绪论
LeetCode_Nov_5th_Week
Install Minikube Cluster in AWS-EC2
"A minute" Copy siege lion log 】 【 run MindSpore LeNet model
线性表之动态数组(ArrayList)的自实现
makefile基础学习
Completely remove MySQL tutorial
[Daily Office][Miscellaneous][vscode]tab space
2020-03-27
集合---ArrayList的底层
Miscellaneous [development] [VS Code] remote - SSD retry failed
Windows10重置MySQL用户密码