您的位置:首页 > 其它

vim常用命令/快捷键,很有用!!

2016-04-27 18:14 357 查看
很简单的几个命令,参考如下链接

vim常用链接

如果打不开,可以复制以下链接:
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!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: