v a ( S {
-
jesus it’s hard to type vim expressions on my phone - it’s such a different kind of muscle memory. I don’t really have this memorized - I literally think “v-select around parens, shift-s-wrap with curly braces” and my fingers just do it. vim is a language which is ultimately easier on the brain than a bunch of random hotkeys to memorize.
-
this selects the current paranthesized expression and wraps it in curly braces. you can replace ( and { with whatever text objects you like. and you can swap a for i if you want to nest instead.
this might require a plugin, though.
Learn vim so you can lord it over the people in your life that even know what a terminal is.
All one of them.
The main reason I stick with vim is because I just can’t be bothered to install and set up any other IDEs. Sure, VS Code can use vim keybindings, but it also has a million other fiddly things going on that I just don’t want to deal with. I only use VS Code for a handful of very specific things. Vim for everything else