News for hackers. Stuff that matters.
Re:Ask HN: The most useful Mac keyboard shortcuts? by srik on Monday August 05, 2019 @10:09PM (#20621415)
Or to esc. Saves my vim pinky a lot of grief.
Re:Ask HN: The most useful Mac keyboard shortcuts? by AdieuToLogic on Monday August 05, 2019 @11:06PM (#20621745)
> Or to esc. Saves my vim pinky a lot of grief.

FWIW, Ctrl-[ emits the ASCII code for ESC. So you can save that 'vim pinky' and have the remainder of control codes available to you as well :-).

Re:Ask HN: The most useful Mac keyboard shortcuts? by gknoy on Tuesday August 06, 2019 @03:23AM (#20622955)
I forget what the tool was, but I recall someone mentioning they mapped CapsLock to ESC when tapped, and to Ctrl when held.
Re:Ask HN: The most useful Mac keyboard shortcuts? by brookter on Tuesday August 06, 2019 @05:20AM (#20623592)
It's Karabiner Elements on the Mac.

On Linux you can get it to do the same thing with a combination of xmodmap, setxkbmap and xcape (but it's fiddly) and on Windows with AutoHotkey (but it's fiddly) — neither are as easy to use as Karabiner Elements, but they do work.