vim - Vim 中的 dw 和 daw 有什么区别吗?

标签 vim

删词的时候用dw,结果发现有daw,可以记为“删词”。

dw 和 daw 有什么区别吗?

最佳答案

来自 documentation :

For example, compare "dw" and "daw": "dw" deletes from the cursor position to the start of the next word, "daw" deletes the word under the cursor and the space after or before it.

关于vim - Vim 中的 dw 和 daw 有什么区别吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20416162/

相关文章:

vim - vim 中长段落方便的自动换行

vim - 在vim中重新映射Ctrl-D

git - vimdiff 一个文件的当前和以前的 git 版本

vim - 如何在 Vim 备份文件名前添加字符?

vim - 从终端命令行复制一行到 vim 寄存器

vim: smartindent (或 cindent) 被激活但不工作

sorting - 如何在 Vim 中对逗号分隔的单词进行排序

python - 保存时自动运行python代码

vim - 如何在 ripgrep 搜索结果后从 fzf 过滤中排除文件名?

vim恢复光标位置;排除特殊文件