• bitsplease@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      you can remap vim to use whatever you’d like instead of esc, or just ditch your caps lock and make that your new escape key.

      I know some vim users swear by remapping esc to jh or similar so you don’t even have to leave the home row

      • KrankyKong@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I map caps-lock to escape on short press, caps-lock to ctrl when pressed with another key, and both shifts to caps-lock when pressed together. It’s more intuitive than it sounds, trust me.

    • UlrikHD@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      In the ancient times, the escape button wasn’t at the upper left corner, but to the left of Q (ADM-A3). Vi (and by extension Vim) just haven’t adapted to a different keyboard layout.