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