• prismaTK
    ·
    edit-2
    11 months ago

    deleted by creator

    • silent_water [she/her]
      ·
      2 years ago

      v a ( S {

      1. 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.

      2. 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.