很简单的几个命令,参考如下链接
如果打不开,可以复制以下链接:
http://pizn.github.io/2012/03/03/vim-commonly-used-command.html
http://pizn.github.io/2012/03/03/vim-commonly-used-command.html
http://pizn.github.io/2012/03/03/vim-commonly-used-command.html
另外补充其他几点:
1.搜索
自光标向上搜索:/pattern + enter, n/N 用来查看更多搜索结果;
自光标向下搜索:?pattern + enter, n/N 用来查看更多搜索结果;
2.显示行号
:set number
3.强制退出
:q!
本文介绍了Vim编辑器的基本使用方法,包括常用的命令、搜索技巧、如何显示行号及强制退出等。对于初学者来说,这些技巧能够帮助快速上手Vim编辑器。
3608

被折叠的 条评论
为什么被折叠?



