我现在从 TextMate 切换到 VIM
。我发现 INSERT 模式下的 ^+W
非常有用。但是,我不仅想删除光标之前的单词,还想删除光标之后或周围的单词。
我做了一些谷歌搜索,但我唯一能找到的是^+W
删除光标之前的单词。
最佳答案
普通模式:
daw : delete the word under the cursor
caw : delete the word under the cursor and put you in insert mode
关于vim - 在 VIM 中删除光标之后或周围的单词,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/833838/