当前位置:网站首页>[开发杂项][编辑器][代码阅读]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’
边栏推荐
- Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience
- MNIST Handwritten Digit Recognition - Image Analysis Method for Binary Classification
- LeetCode_Nov_2nd_Week
- How to grow into a senior engineer?
- IEEE802.X协议族
- Introduction to Convolutional Neural Networks
- Halcon缺陷检测
- Comparison of oracle's number and postgresql's numeric
- MNIST手写数字识别 —— ResNet-经典卷积神经网络
- CSDN spree -- college round table spree
猜你喜欢
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
No matching function for call to ‘RCTBridgeModuleNameForClass‘
Thunderbolt turns off automatic updates
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
光条提取中的连通域筛除
tensorRT教程——tensor RT OP理解(实现自定义层,搭建网络)
【论文阅读】TransReID: Transformer-based Object Re-Identification
CSDN spree -- college round table spree
在AWS-EC2中安装Minikube集群
基于BiGRU和GAN的数据生成方法
随机推荐
ConnectionRefusedError: [Errno 111] Connection refused问题解决
双向LSTM
Pytest常用插件
yoloV5 使用——训练速度慢,加速训练
TypeError: load() missing 1 required positional argument: ‘Loader‘
图像resize
MNIST手写数字识别 —— 基于Mindspore快速构建感知机实现十分类
强化学习中,Q-Learning与Sarsa的差别有多大?
周志华机器学习
MNIST Handwritten Digit Recognition - Image Analysis Method for Binary Classification
空洞卷积
Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions
MNIST手写数字识别 —— 从感知机到卷积神经网络
学习资料re-id
Deep Learning Theory - Overfitting, Underfitting, Regularization, Optimizers
The Unity of ML - agents interpret parameter Settings
计算某像素点法线
YOLOV4流程图(方便理解)
Various commands such as creating a new user in postgresql
剪映专业版字幕导出随笔