当前位置:网站首页>[开发杂项][编辑器][代码阅读]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’
边栏推荐
- Copy Siege Lions "sticky" to AI couplets
- 度量学习(Metric learning)—— 基于分类损失函数(softmax、交叉熵、cosface、arcface)
- 理想的生活
- Copy Siege Lion 5-minute online experience MindIR format model generation
- Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience
- AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation
- MOOSE平台使用入门攻略——如何运行官方教程的例子
- tensorRT教程——使用tensorRT OP 搭建自己的网络
- 代码庆端午--粽你心意
- Copy攻城狮5分钟在线体验 MindIR 格式模型生成
猜你喜欢
随机推荐
YOLOV5 V6.1 详细训练方法
迅雷关闭自动更新
tensorRT教程——tensor RT OP理解(实现自定义层,搭建网络)
周志华机器学习
第二章 STA相关概念
No matching function for call to 'RCTBridgeModuleNameForClass'
BatchNorm&&LayerNorm
The Unity of ML - agents interpret parameter Settings
空洞卷积
DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better 图像去模糊
Golang environment variable settings (2)--GOMODULE & GOPROXY
【Copy攻城狮日志】飞浆学院强化学习7日打卡营-学习笔记
pytorch学习-没掌握的点
如何用Pygame制作简单的贪吃蛇游戏
光条提取中的连通域筛除
MNIST手写数字识别 —— Lenet-5首个商用级别卷积神经网络
关于DG(域泛化)领域的PCL方法的代码实例
arm交叉编译
【论文阅读】Exploring Spatial Significance via Hybrid Pyramidal Graph Network for Vehicle Re-identificatio
TensorRT 5 初步认识









