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

> Greentext

7512 readers
7 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 13 points 1 year ago (5 children)

The esc key in vim have always bugged me tho.

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

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

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

Ctrl-c works too

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

[–] 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.

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

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