第三天
语法:操作符 + 范围
操作符(operator)
- 删除 -
d
- 删除(若成功删除,则进入
INSERT
模式) -c
- 复制 -
y
基于单词的移动(通过英文释义记忆)
e
(jump forwards to the end of a word)b
(jump backwards to the start of a word)w
(jump forwards to the start of a word)ge
(jump backwards to the end of a word)
基于字符串的移动(配置了连发按键后一般不用)
E
B
W
gE
常见组合键
- 删除当前光标到该单词结束的位置:
cw
- 删除当前光标到该单词开始的位置:
cb
- 移动到当前单词结尾并 (
append
)进入INSERT
模式:ea