this post was submitted on 17 Aug 2023
29 points (96.8% liked)

> Greentext

7517 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] 3 points 1 year ago (4 children)

The esc key in vim have always bugged me tho.

[–] [email protected] 3 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] 2 points 1 year ago (1 children)

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

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

Ctrl-c works too

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

[–] [email protected] 1 points 1 year ago

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