• IrateAnteater@sh.itjust.works
    link
    fedilink
    arrow-up
    24
    arrow-down
    6
    ·
    9 hours ago

    I know I’m just a vim-less heathen, but using letters for navigation in a text editor seems kind stupid when arrows exist.

    • expr@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      5 hours ago

      The reason it’s so popular is because it provides directional navigation on the home row, with the direction that’s by far the most common (down) under your strongest, dominant finger (the index finger).

      It’s much better for both efficiency and ergonomics than arrow keys.

    • ExLisper@lemmy.curiana.net
      link
      fedilink
      arrow-up
      5
      ·
      8 hours ago

      Why would you move your hand to arrow keys when the letter are already under your fingers?

      ESC, use-letter-to-navigate, i, type, ESC, navigate, i, type

      Really simple. On my keyboard I re-mapped ESC to TAB so I don’t even have to move my hand to switch between navigate and insert modes.

      • IrateAnteater@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        6 hours ago

        So you’ve transferred the required hand move from the right hand to the left, and added extra required keystrokes to accomplish the same task. I don’t see how that isn’t worse.

        • msage@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          6 hours ago

          Moving hands is an extremely time-consuming task when you’re typing 60+ words per minute. Couple of keystrokes are much much faster than relocating your hand twice.

        • ExLisper@lemmy.curiana.net
          link
          fedilink
          arrow-up
          2
          ·
          6 hours ago

          No, it’s a key stroke, not hand move. I don’t have to reposition my hand to hit ESC. You do have to reposition your hand to use arrow keys.

          Also, you usually move the cursor by more than just one character. It’s one extra keystroke to reposition the cursor, not to move it by one char. You have shortcuts to jump to end of file, specific line, end of line or even create and jump to bookmarks. All this with just standard keys, without repositioning your hands to use the mouse or arrow keys.

          • IrateAnteater@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            5 hours ago

            Your keyboard must be slightly different than the one I have in front of me right now. Home row to esc and home row to arrows is the same distance on mine.

            • ExLisper@lemmy.curiana.net
              link
              fedilink
              arrow-up
              1
              ·
              5 hours ago

              First, as I said, I remapped ESC to TAB key. Tab is very close.

              Second, it’s different to hit ESC ones than to use arrows keys to move around. To go back to home row after using arrow keys I have to feel around the keys trying to find “j” again. Or look at keyboard. I don’t have to do that after hitting ESC once.

              • IrateAnteater@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                ·
                5 hours ago

                I’m not bothering to talk about non default layouts. Remapping is a separate discussion, since I could just as easily say it’s better to remap wasd to the arrow function and have the FN key toggle it, since a much higher number of people already have that navigation method trained into muscle memory. This is a preference game no matter what, but it becomes an especially pointless discussion if you base it on custom layouts.

                • ExLisper@lemmy.curiana.net
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  59 minutes ago

                  Custom layout was only part of my answer. Most vim users don’t use custom layouts and second point still holds.

                  I could just as easily say it’s better to remap wasd to the arrow function and have the FN key toggle it,

                  Great idea. It would give you like 5% of what vim offers but 5% is better than 0%.

                  much higher number of people already have that navigation method trained into muscle memory

                  All vim users have hjkl trained into muscle memory. No one is saying that it’s automatically better. vim has a learning curve. When you know how to use it it’s simply better than traditional editors.

      • msage@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        I have it instead of CapsLock, tab is too useful to forego.

        But yes, arrow keys are too far, and I avoid them everytime I can, including in Shell

        • ExLisper@lemmy.curiana.net
          link
          fedilink
          arrow-up
          2
          ·
          6 hours ago

          Yeah, sorry. I have:

          Esc -> Caps lock (useless so far away)

          Caps Lock -> Tab (the most useful so closest)

          Tab -> Esc -> second most useful

          I had it for so long that I forgot which one is which :)

          • TerHu@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            5 hours ago

            Imma throw another option into the ring which is Caps lock -> Esc / Ctrl. it‘s esc when tapped and ctrl when combined/ held for longer. veeeery useful

                  • TerHu@lemmy.dbzer0.com
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    3 minutes ago

                    ZMK does wireless and wired, with a focus on wireless, whilst QMK has its focus on wired and i’m not sure whether it does wireless.

                    I got two Aurora Sofle (shoutout to splitkb for having good products and customer service) one wired with qmk (and MX switches) and one wireless with zmk (and kailh switches). Both work very well, but i’ve found that I prefer kailh switches over MX.

                    QMK is also used by folks like Keychron for their wired keyboards, and for gui focussed ppl it’s configurable via the browser app „via“.