当前位置:网站首页>Go-2-Vim IDE常用功能
Go-2-Vim IDE常用功能
2022-07-05 10:23:00 【hahyyy】
在 Go 项目开发中最常用的功能是(!!必会!!):
- gd 或者 ctrl + ] 跳转到对应的函数定义处 => 如果没有反应请等待一下,可能慢
- ctrl + o 跳转到前一个位置
- <F1> 打开帮助, :q 退出
- <F2> 打开目录窗口,再按会关闭目录窗口
- <F4> 最近文件列表, :q 退出
- <F6> 添加函数注释
其他:
- <F3> 展示tag,再按会关闭tag窗口
- <F5> 在 Vim 的上面打开文件查找窗口, :q 退出
- ctrl + t 标签退栈
- <F9> 生成供函数跳转的 tag
在代码间跳来跳去,将光标放在某个函数调用上,按 ctl + ] 就会跳到函数的定义处,按 ctrl + o 就会跳回来。
退出某模式的窗口,使用末行模式 :q即可
注意:在vim中粘贴文本,需要 :set paste 就能正常粘贴好了!
边栏推荐
- Customize the left sliding button in the line in the applet, which is similar to the QQ and Wx message interface
- Learning note 4 -- Key Technologies of high-precision map (Part 2)
- Workmanager Learning one
- LSTM应用于MNIST数据集分类(与CNN做对比)
- SAP UI5 ObjectPageLayout 控件使用方法分享
- What are the top ten securities companies? Is it safe to open an account online?
- In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
- 【观察】跨境电商“独立站”模式崛起,如何抓住下一个红利爆发时代?
- [paper reading] kgat: knowledge graph attention network for recommendation
- 【js学习笔记五十四】BFC方式
猜你喜欢

WorkManager學習一

微信核酸检测预约小程序系统毕业设计毕设(6)开题答辩PPT

IDEA新建sprintboot项目

2022年流动式起重机司机考试题库及模拟考试

What is the most suitable book for programmers to engage in open source?

AtCoder Beginner Contest 258「ABCDEFG」

csdn软件测试入门的测试基本流程

Blockbuster: the domestic IDE is released, developed by Alibaba, and is completely open source!

In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
![[论文阅读] KGAT: Knowledge Graph Attention Network for Recommendation](/img/fa/d2061bc7bd437f062d46a009cf32cf.png)
[论文阅读] KGAT: Knowledge Graph Attention Network for Recommendation
随机推荐
What are the top ten securities companies? Is it safe to open an account online?
正则表达式
How to write high-quality code?
Go项目实战—参数绑定,类型转换
[dark horse morning post] Luo Yonghao responded to ridicule Oriental selection; Dong Qing's husband Mi Chunlei was executed for more than 700million; Geely officially acquired Meizu; Huawei releases M
【DNS】“Can‘t resolve host“ as non-root user, but works fine as root
Completion report of communication software development and Application
Golang应用专题 - channel
Solution to the length of flex4 and Flex3 combox drop-down box
请问postgresql cdc 怎么设置单独的增量模式呀,debezium.snapshot.mo
What is the most suitable book for programmers to engage in open source?
Should the dependency given by the official website be Flink SQL connector MySQL CDC, with dependency added
mongoDB副本集
C language QQ chat room small project [complete source code]
Redis如何实现多可用区?
【JS】数组降维
Workmanager Learning one
C语言活期储蓄账户管理系统
flink cdc不能监听mysql日志,大家遇到过这个问题吧?
2022鹏城杯web