ad1

Thursday, December 10, 2015

d{motion}c command -- VIM

dfc: delete up to c (including c)
dtc: delete up to c (not including c)
where c is any character

You can also delete backward:
dFc:
dTc:

f,t,F,T are called motions

No comments:

Post a Comment