• evatronic@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    8 months ago

    The worst and best thing you can do when using vim is learn the movement keys (h, j, k, and l) because they’re so powerful and work no where else.

        • laurelraven@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Okay, perhaps I should have been clearer, that’s on me.

          I meant qwerty and related layouts.

          Things like Dvorak and Colemak, the movement keys are spread across the keyboard and if you want to navigate that way you’ll pretty much have to remap them, and probably remap the keys you’ve swapped. For me, it’s just easier to use the arrows than go through that.

          • PlexSheep@infosec.pub
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            I mean, yeah, of course. Vims default keys are made for the “regular” layouts. But you can Mal everything yourself if needed. I’m sure there are pre made mappings for other layouts too.

            • laurelraven@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              2
              ·
              8 months ago

              I might check that out

              Using the arrows may not be the most efficient, but I’m not spending enough time in vim to make that be an issue… Though I’ve seriously considered trying to swap to it from VSCode

              • PlexSheep@infosec.pub
                link
                fedilink
                arrow-up
                1
                ·
                8 months ago

                I do pretty much all editing in vim. One you “force” yourself to use hjkl, there was no going back to arrow keys. Nowadays I Mal arrow keys to move lines up and down and add or remove indentation.

    • zod000
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      Untrue, they also work in Nethack and other rogue-likes!