• @lunarul
    link
    English
    71 month ago

    I never use my mouse at all in vim

    • @[email protected]
      link
      fedilink
      English
      11 month ago

      You just burn your hands out faster with the higher numbers of up/down motions to get the work done.

      • @[email protected]
        link
        fedilink
        English
        01 month ago

        Have you ever learned about the following in VIM:

        • H, M, L, 22H, …,: vertical cursor placement
        • zt, z0, zb: vertical scroll positioning
        • 0, $, gm, gM: horizontal cursor placement
        • w, e, b: word based cursor movement

        Simply holding j or k at times also works, even more so with a decently high key repeat rate.

        Of course there’s a lot more: https://vimhelp.org/motion.txt.html

        The trick is to only learn a couple new movement mappings at a time and use them during one’s workflow for a while, up until they feel ingrained. Then repeat, iteratively building up one’s movement skills in VIM.

        One can say many things about VIM, but not that learning it’s movement mappings will make your required APM (let alone mouse clicks) go up to “get stuff done”. Honestly, once a basic set of these movements has been learned, any other editor without them will feel like a drag.