this post was submitted on 17 Aug 2023
234 points (97.6% liked)

> Greentext

7538 readers
3 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] 11 points 1 year ago (1 children)

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

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 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

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