Vim delete find back including selected character
Suppose I have the following line
&.btn, &.btn-success
and the cursor is the last s.
If I do dF,
, it removes the opposite as I want, but retains s
.
I want to be able to s and delete backwards including the comma and including the last s.
Is there a way without additional keystrokes?
+3
source to share
3 answers
dvF,
v
toggles the "inclusiveness" or "exclusivity" of the movement. For more details see:help inclusive
Link: https://www.reddit.com/r/vim/comments/24wbuz/command_to_delete_one_full_word_backwards/
+1
source to share