Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by 43812912 on Friday October 28, 2016 @11:55AM
(#12817345)
Vim user here. I use the ESC key; I can hit it in a fluent motion while lifting the hand completely off the home row (much like a pianist).
It gives an opportunity to relax the hand. For the same reason I'm not a fan of hjkl and often use the arrow keys.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by grardb on Friday October 28, 2016 @12:01PM
(#12817417)
This. I never "learned" how to type, and while I've tried, I simple can't get rid of almost 20 years of muscle memory typing like a buffoon. It's much easier for me to use ESC and the arrow keys than people who keep their hands on the home row.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by gurkendoktor on Friday October 28, 2016 @12:12PM
(#12817540)
> If it were where Caps Lock is, it would make much more sense.
macOS Sierra allows you to rebind Caps to the Esc key, which seems like a good compromise to me. As a non-vim user, I just wish I could bind Caps to other keys as well :(
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by bartvk on Saturday October 29, 2016 @09:04AM
(#12823751)
Have a look at Karabiner-Elements. The author recently open sourced it and kept up his brisk development pace. Every year he updates I'm lockstep with macOS releases and every year, I donate. Amazing project.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by anfogoat on Friday October 28, 2016 @12:24PM
(#12817685)
Mapping caps to ESC is not really an option when you have it mapped to something else already, and I'd imagine a lot of devs do.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by sliverstorm on Friday October 28, 2016 @01:02PM
(#12818153)
If it were where Caps Lock is, it would make much more sense
Which, interestingly, is where ESC was on the computer that vim was first written for.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by Spartan-S63 on Friday October 28, 2016 @01:20PM
(#12818360)
That's what I was getting at when I mentioned it :)
Bill Joy's keyboard had escape where caps lock is today.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by the_watcher on Friday October 28, 2016 @12:02PM
(#12817435)
> If it were where Caps Lock is, it would make much more sense.
You can remap your key bindings to exactly this layout using Karabiner-Elements.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by wrs on Friday October 28, 2016 @12:53PM
(#12818046)
In fact, Karabiner can map caps lock to both control (if you use it with another key) and escape (if you just press it). Which is fantastic.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by teilo on Friday October 28, 2016 @07:11PM
(#12821565)
No, not in Sierra, because Karabiner classic does not work in Sierra. Karabiner-Elements, which is Sierra-only, can only do basic key remapping. None of the fancy stuff.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by steeef on Saturday October 29, 2016 @12:57AM
(#12822696)
Yet. There's a pull request in the works that would do just that:
https://github.com/tekezo/Karabiner-Elements/pull/247
You could build from the latest update and get that functionality.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by teilo on Friday October 28, 2016 @07:13PM
(#12821572)
You don't need Karabiner-Elements for this. Esc remapping is supported in 10.12.1 natively.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by kenoph on Friday October 28, 2016 @12:52PM
(#12818033)
I tried "jk" but I hated seeing the cursor pause every time I used "j" to go down.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by sliverstorm on Friday October 28, 2016 @01:02PM
(#12818139)
That doesn't seem right- I use "jj" to escape insert mode and nothing unusual happens when I use hjkl to navigate in normal mode. The only "pause" is when I type the letter "j" in insert mode.
Re:New MacBook Pro Is Not a Laptop for Developers Anymore
by Spartan-S63 on Friday October 28, 2016 @01:22PM
(#12818389)
Yeah, I agree. That doesn't seem right at all. I use "inoremap jk <ESC>" to remap my escape key.
That said, I don't like rotating my hand or remove my fingers from the home row.
It's really a non-issue because you can rebind keys so easily, it's not even funny. Everyone seems to be making a mountain out of a molehill.