News for hackers. Stuff that matters.
Re:Making the Touch Bar useful by abandoning Apple guidelines by hellofunk on Thursday April 05, 2018 @02:10AM (#16762265)
Every professional vi/vim user I know does not use the Escape key.
Re:Making the Touch Bar useful by abandoning Apple guidelines by aiham on Thursday April 05, 2018 @02:48AM (#16762446)
How do they escape input mode?
Re:Making the Touch Bar useful by abandoning Apple guidelines by DandyDev on Thursday April 05, 2018 @02:51AM (#16762463)
By mapping escape to the otherwise useless caps lock key
Re:Making the Touch Bar useful by abandoning Apple guidelines by gilnaa on Thursday April 05, 2018 @03:23AM (#16762643)
Well, due to a bug in a specific version of vi, holding the space-bar for a few seconds causes the laptop to overheat. I bought an external thermometer that connects via USB, and I have a daemon that monitors it to notice the overheating and send the ESC key to the application.
Re:Making the Touch Bar useful by abandoning Apple guidelines by reificator on Thursday April 05, 2018 @03:28AM (#16762673)
Look. I thought it was funny too, but at least put a link so you're not just stealing the joke.

https://xkcd.com/1172/

Re:Making the Touch Bar useful by abandoning Apple guidelines by prewett on Thursday April 05, 2018 @03:20AM (#16762623)
Ctrl-[
Re:Making the Touch Bar useful by abandoning Apple guidelines by oftenwrong on Thursday April 05, 2018 @08:18AM (#16764080)
Re:Making the Touch Bar useful by abandoning Apple guidelines by fokinsean on Thursday April 05, 2018 @12:32PM (#16766385)
I remap the sequence 'j-k' to esc. It provides really fast exiting of insert mode and leaves you on the home row to navigate after.
Re:Making the Touch Bar useful by abandoning Apple guidelines by nothrabannosir on Thursday April 05, 2018 @02:55AM (#16762477)
C-c. Easier for some reason.
Re:Making the Touch Bar useful by abandoning Apple guidelines by sushibowl on Thursday April 05, 2018 @08:33AM (#16764210)
Ctrl+c is technically not quite the same as Esc: it doesn't trigger InsertLeave autocmds, and doesn't finish abbreviations. But as long as you don't have those you'll be fine.