VIM Cheatsheet

Author

Guodong Zhu

Version

0.1.0

1、参考手册

2、常用命令

  • 查看当前打开的文件列表: :args 。效果示例: [02-vim-commands.rst]

  • 在vim中切换到目录并浏览: :e %:h ,其中 e 表示编辑, % 表示当前文件, :h 表示目录。

  • 当前文件另存为(不立即保存,需要 :w ): :file 02-vim-cheatsheet.rst

  • 当前文件另存为: :saveas 02-vim-cheatsheet.rst