this post was submitted on 17 Aug 2023
231 points (97.5% liked)

> Greentext

7547 readers
4 users here now

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] vicfic@iusearchlinux.fyi 14 points 1 year ago (5 children)

The esc key in vim have always bugged me tho.

[–] tycho@lemmy.sdf.org 11 points 1 year ago (1 children)

Do not fear for there is an equivalent to ESC! The glorious Ctrl+[

[–] kamiheku@sopuli.xyz 7 points 1 year ago* (last edited 1 year ago)

Ctrl-c works too

[–] bitsplease@lemmy.ml 10 points 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

[–] AnUnusualRelic@lemmy.world 4 points 1 year ago

Just remap it to "E".

[–] quesomodo@programming.dev 3 points 1 year ago (1 children)

Just swap Esc and Caps Lock. More comfy. Plus most people don't even use Caps Lock anyway.

[–] UlrikHD@programming.dev 2 points 1 year ago* (last edited 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.