• fl42v
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    y6jjp is generally faster, tho, as long as you know you need exactly 7 lines or happen to have :set nu rnu in your config. Also, if using nvim, having yanks highlighted helps immensely

    • dQw4w9WgXcQ@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      I might be in a minority of this, but using numbers that way breaks my flow for 2 reasons: Firstly, any number of lines greater than around 3 or 4 means I have to stop and manually count. Not that counting to 6 takes a long time, but it does use some mental capacity while I want my mind focused on the actual code. Secondly, I don’t have touch typing in my fingers for the number line on my keyboard. If I need to type a number, I either have to look down at my keyboard, or move my hand over to the numpad. In both cases it would be quicker for me to Vjjjjjy.

      • fl42v
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        manually count

        That’s why rnu (i.e. relative numbering) is mentioned, tho