And the home directory is aliased to ~ in UNIX-like systems because the tilde key doubled as the Home key.

  • theunknownmuncher@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    20 days ago

    The point of using hjkl is to navigate while keeping your fingers on the home row and without moving your fingers to other positions

    • Jo Miran@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      20 days ago

      Oh, I know. I’ve been using VI since 1992. I was just wondering, given that wasd is the popular navigation format now thanks to gaming, if VI would have been coded differently today.

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        19 days ago

        WASD in gaming is generally used with the hand shifted one position left of the home keys, so it would require a typist to continually reposition. ESDF or IJKL would be a better choice, and closer to what vi does.