I like CMD + D to select the next identical selection, OPT + DOWN/UP to move the selections down or up a line, SHIFT + OPT + DOWN/UP to duplicate the selection, and CMD + / to turn the line into a comment. How bout you?

  • lorefnon
    link
    fedilink
    English
    arrow-up
    2
    ·
    il y a 1 an

    Vim has a rich ecosystem of plugins like easymotion which allow you to jump directly to different parts of the current file with minimal keystrokes. There are vscode extensions like Jumpy and Acejump which provide a similar keyboard-driven cursor jumping support for vscode.

    I highly recommend trying out one of these if you haven’t already. Once you get habituated to easymotion, you wonder how you survived without this so long.