Reputation: 9986
Let cursor is positioned on some inner symbol of word in vim. I'd like to delete part of word from the left (or right) of cursor. How it can be done (in normal and insert mode)?
Upvotes: 4
Views: 1623
Reputation: 10064
db
deletes from the cursor to the beginning of the current word.
de
deletes from the cursor to the end of the current word.
Upvotes: 11