this post was submitted on 17 Aug 2023
221 points (97.4% liked)

> Greentext

7518 readers
2 users here now

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

The esc key in vim have always bugged me tho.

[–] [email protected] 10 points 1 year ago (1 children)

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

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Ctrl-c works too

[–] [email protected] 9 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 4 points 1 year ago

Just remap it to "E".

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

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