3 ms·
Nice use of the buffer. Is there a nice hack to remove the parentheses around a word as well?
by thomasahle 11y ago
Nice use of the buffer. Is there a nice hack to remove the parentheses around a word as well?
- aidos 11y agoI guess you could do a similar thing: ci(<backspace><delete><esc>p
- ksmithbaylor 11y agoca( would work for this as well.
- saltycraig 11y agoIf you have the cursor just before the area you could do: 'dt)' meaning delete to next ), or 'ct)' to delete until next ) and the drop into insert mode. Learning word objects in Vim for me is one of the killer features, and one thing I miss in Emacs.