Re:How Did Vim Become So Popular?
by jcranmer on Tuesday June 30, 2020 @10:17PM
(#23697015)
Highlighting the initial { of a function and then typing 'va}' ('v' for entering visual mode, and 'a}' moves to the matching close brace. Similar commands work the [], (), and <> pairs) selects the entire function body. From there, a regular s command will operate on the entire selected text.
[ Parent
| on HN ]
Re:How Did Vim Become So Popular?
by joatmon-snoo on Tuesday June 30, 2020 @10:24PM
(#23697069)
Mine is v% :)