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

来源:互联网 发布:原帅数据 编辑:程序博客网 时间:2024/05/18 03:27

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
原创粉丝点击