• tiredofsametab@kbin.run
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    9 months ago

    That’s really neat, but I don’t think I do that often enough to really make the performance hit of learning a whole new thing and memorizing keyboard shortcuts and commands worth it. I don’t find myself refactoring code a ton, especially after moving to a more TDD-like model.

    • Hexarei@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      9 months ago

      It’s less about refactoring and more about navigation of your code while editing. Ever wanted to delete a single word? daw deletes the word your cursor is currently in. How about "copy everything up to (but not including) the nearest “D” on the current line? yfD.

      The whole point is that editing code in the middle of writing it, not just refactoring it, is immensely faster.