微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

vim 常用快捷键总结,简单明了

Moving around in the text(motion)

快捷键 描述
hjkl ←↓↑→
web word/ word end/word backward
WB more word
0$ line before/end
HML col High/Medium/Low
% jump between ([{}])

Skipping around in the file

快捷键 描述
CTRL-G 查看当前文档名称和进度
CTRL-O jump older
CTRL-I jump newwer
快捷键 描述
CTRL+F pages forward,one page at a time.
CTRL+B pages backward,one page at a time.
CTRL+D pages down one-half page at a time.
CTRL+U pages up one-half page at a time.
快捷键 描述
G goes to the last line of the file.
35G goes to any line number (35,in this case)
1G goes to the first line of the file.
gg same as 1G
35% go to 35% pecent

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐