Suppose I’m in a certain line position in vim and I want to delete up to a certain character, say a semicolon. I would do df; except it would also delete the semicolon. Is there a command that will do the same thing but will not include the character I’m searching for?
Suppose I’m in a certain line position in vim and I want to delete
Share
Yes,
dt;. From the Vim docs: