1. 入门
1.1 安装
VimOS 可在 App Store 下载,支持 iPhone 和 iPad。
1.2 首次启动
启动应用后,会显示 Vim 的启动画面。您可以在 Normal 模式下开始编辑。
1.3 基本模式
Vim 是基于模式的编辑器。
- Normal: Normal 模式:命令输入。按 i 进入 Insert,按 : 进入命令行。
- Insert: Insert 模式:文本输入。按 Esc 返回 Normal。
- Visual: Visual 模式:v 选择字符,V 选择行。
1.4 帮助
在 Vim 中输入 :help 可查看内置帮助。Vim 基础知识请参阅官方文档。