Re:16-inch MacBook Pro
by rahoulb on Wednesday November 13, 2019 @09:49AM
(#21524702)
I started using Ctrl-C instead of Escape in Vim years ago (long before the Touchbar) as it means I don't have to move my hands from the home position.
[ Parent
| on HN ]
ctrl-c is a poor substitute for several reasons
1. it cancels any modifiers on the insert command
2. it won't trigger any abbreviations
3. it doesn't work with visual-block insert
4. it bypasses InsertLeave autocommands
>ctrl-c is a poor substitute for several reasons
Counterpoint: modal editing is a poor substitute for several reasons ;)
Re:16-inch MacBook Pro
by super_mario on Wednesday November 13, 2019 @10:58AM
(#21525541)
CTRL-[ is standard Vim mapping for Esc.
It's deeper than that. Control-[ is the same keycode as escape. [ is the next character after Z in ASCII, and Control-[ is the next character after Control-Z. It's not a mapping, they are one and the same.