我床上有一只大熊。
假设我光标在单词“bear”的“e”位置,如何完全删除单词“bear”?
daw : delete the word under the cursor
caw : delete the word under the cursor and put you in insert mode
按下b键可以跳到当前单词的开头,然后使用dw可删除当前单词。
:he left-right-motions
并阅读本章末尾。diw
/daw
! -> :h text-objects
这里不再使用bdt
/bdw
。