4 ms·
Is there any way to use a / search as the target object with these sorts of commands? I'd like for instance to be able to type ct/foo<cr> and have it delete to
by wahnfrieden 15y ago
Is there any way to use a / search as the target object with these sorts of commands? I'd like for instance to be able to type ct/foo<cr> and have it delete to the next instance of foo and put me in insert mode. Or something along those lines.
- noste 15y ago/foo<cr>c`` may be what you're looking for (see :help ``)
- burgerbrain 15y agoSimply c/foo should work, if I understand you correctly.
- wahnfrieden 15y agoOh thanks, for some reason I thought I tried that before and it didn't work. Awesome.