2 Comments
Apr 29, 2020Liked by Colin Bartlett

Instead of ( or { it is possible to use b or B respectively, which for qwerty users is a bit easier to type imo, I use it all the time. (this info is of course in :h text-objects)

Also definitely check out https://github.com/wellle/targets.vim for more text-objects especially to deal with (function) arguments, or I use it a lot to edit snake_case_variable_names (e.g. da_ will delete one word with one _), and much much more..

Expand full comment
author

Oooooh, good tip, thanks! Did not know about this plugin.

Expand full comment