I often use dt
, but that only deletes to a character. Is there something like dt
that lets me type in a search instead of a single char? I would want to delete from my current cursor to that first search term.
0
6
this can be done with d/term<cr>
-
-
2Additionally, if you've already performed the search and want to delete until the next occurrence, you can do
d//<cr>
(ord//e<cr>
to include the search pattern). – Pak Dec 8 '17 at 17:52