当前位置:网站首页>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 就能正常粘贴好了!
边栏推荐
- 【Vite】1371- 手把手开发 Vite 插件
- 【SWT组件】内容滚动组件 ScrolledComposite
- [paper reading] ckan: collaborative knowledge aware autonomous network for adviser systems
- Singleton mode encapsulates activity management class
- Who is the "conscience" domestic brand?
- C function returns multiple value methods
- Comparative learning in the period of "arms race"
- How can PostgreSQL CDC set a separate incremental mode, debezium snapshot. mo
- 报错:Module not found: Error: Can‘t resolve ‘XXX‘ in ‘XXXX‘
- A large number of virtual anchors in station B were collectively forced to refund: revenue evaporated, but they still owe station B; Jobs was posthumously awarded the U.S. presidential medal of freedo
猜你喜欢

2022年T电梯修理操作证考试题及答案

【DNS】“Can‘t resolve host“ as non-root user, but works fine as root

WorkManager的学习二

风控模型启用前的最后一道工序,80%的童鞋在这都踩坑
![C language QQ chat room small project [complete source code]](/img/4e/b3703ac864830d55c824e1b56c8f85.png)
C language QQ chat room small project [complete source code]

In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose

pytorch输出tensor张量时有省略号的解决方案(将tensor完整输出)

【JS】提取字符串中的分数,汇总后算出平均分,并与每个分数比较,输出

Workmanager Learning one

@Serializedname annotation use
随机推荐
Interview: how does the list duplicate according to the attributes of the object?
Detailed explanation of the use of staticlayout
Activity enter exit animation
C language QQ chat room small project [complete source code]
Implementation of wechat applet bottom loading and pull-down refresh
Shortcut keys for vscode
TSQL–标示列、GUID 、序列
GO项目实战 — Gorm格式化时间字段
C function returns multiple value methods
[paper reading] kgat: knowledge graph attention network for recommendation
LDAP概述
mongoDB副本集
What is the origin of the domain knowledge network that drives the new idea of manufacturing industry upgrading?
括号匹配问题(STL)
DOM//
2022年化工自动化控制仪表考试试题及在线模拟考试
爬虫(9) - Scrapy框架(1) | Scrapy 异步网络爬虫框架
风控模型启用前的最后一道工序,80%的童鞋在这都踩坑
SLAM 01.人类识别环境&路径的模型建立
IDEA新建sprintboot项目