小智 27
您可以检查一下.. 在VIM中光标之后或周围删除单词.似乎与你需要的相似......
正常模式:
daw : delete the word under the cursor
caw : delete the word under the cursor and put you in insert mode
Run Code Online (Sandbox Code Playgroud)
作为替代larsmans答案,你可以回去用b,然后d elete一切未牛逼 IL下一个空格:dtspace.
这个助记符更通用,您可以将它与几个分隔符一起使用.
如果要向后删除,请使用dTspace.
要了解更多左右动作,请索取:he left-right-motions并阅读本章的结尾.