当前位置:网站首页>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 就能正常粘贴好了!
边栏推荐
- 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
- > Could not create task ‘:app:MyTest. main()‘. > SourceSet with name ‘main‘ not found. Problem repair
- How to write high-quality code?
- 【观察】跨境电商“独立站”模式崛起,如何抓住下一个红利爆发时代?
- App各大应用商店/应用市场网址汇总
- How can non-technical departments participate in Devops?
- AtCoder Beginner Contest 258「ABCDEFG」
- 微信核酸检测预约小程序系统毕业设计毕设(8)毕业设计论文模板
- csdn软件测试入门的测试基本流程
- 请问postgresql cdc 怎么设置单独的增量模式呀,debezium.snapshot.mo
猜你喜欢
5g NR system architecture
Window下线程与线程同步总结
微信核酸检测预约小程序系统毕业设计毕设(6)开题答辩PPT
Redis如何实现多可用区?
[vite] 1371 - develop vite plug-ins by hand
In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
Timed disappearance pop-up
【JS】提取字符串中的分数,汇总后算出平均分,并与每个分数比较,输出
How does redis implement multiple zones?
学习笔记4--高精度地图关键技术(下)
随机推荐
uniapp
Golang应用专题 - channel
Qt实现json解析
DDOS攻击原理,被ddos攻击的现象
Pseudo class elements -- before and after
How can non-technical departments participate in Devops?
How to write high-quality code?
《天天数学》连载58:二月二十七日
How did automated specification inspection software develop?
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
Flink CDC cannot monitor MySQL logs. Have you ever encountered this problem?
iframe
Write double click event
Customize the left sliding button in the line in the applet, which is similar to the QQ and Wx message interface
How can PostgreSQL CDC set a separate incremental mode, debezium snapshot. mo
请问postgresql cdc 怎么设置单独的增量模式呀,debezium.snapshot.mo
WorkManager學習一
Error: module not found: error: can't resolve 'xxx' in 'XXXX‘
WorkManager学习一
C语言活期储蓄账户管理系统