News for hackers. Stuff that matters.
Re:Sampler for Mac Touchbars by caymanjim on Thursday July 09, 2020 @08:38PM (#23786915)
I despised the early incarnation of the TouchBar. I live in Vim, and while I use a 'jj' binding for most Esc scenarios, I still need an actual Escape key. Beyond that, I had three brand-new MacBooks die in the first year with TouchBar failures. It also coincided with the disastrous new keyboard (multiple failures there too). It was enough to make me buy a ThinkPad and swear off literally all Apple products for a few years.

My new job just sent me a new MacBook, and I was dreading it. I'm happy to report that it has a physical Escape key (smaller and imperfect, but sufficient), and the keyboard feels better overall. I still don't want the TouchBar, and still get no use out of it, but it no longer enrages me. I'm open to accepting and even embracing it if I ever see a good use case. One thing that continues to bother me is that it changes as I'm typing, and I don't want that. But I can see a path for apps to use it in a positive way.

Re:Sampler for Mac Touchbars by fphilipe on Friday July 10, 2020 @01:19AM (#23788394)
ctrl-[ can also be used as escape (I think escape sends that control sequence in the terminal).

With caps-lock mapped to ctrl, typing it is not too far off from the home-row.

Re:Sampler for Mac Touchbars by bargle0 on Thursday July 09, 2020 @08:51PM (#23786995)
I mapped caps lock to escape.
Re:Sampler for Mac Touchbars by chefandy on Thursday July 09, 2020 @10:31PM (#23787570)
I have 20+ years of muscle memory that pushes my pinky into that upper-left-hand corner. No way that's going to change.
Re:Sampler for Mac Touchbars by moe on Friday July 10, 2020 @05:03AM (#23789541)
If you want to try it, grab https://karabiner-elements.pqrs.org/

Activate the complex modification called "Change caps_lock to control if pressed with other keys, to escape if pressed alone".

Now you have a capslock key that doubles as control and escape and your pinky can begin recovering from the decades of abuse.

Re:Sampler for Mac Touchbars by caymanjim on Thursday July 09, 2020 @09:12PM (#23787129)
That's where Control belongs!
Re:Sampler for Mac Touchbars by draebek on Friday July 10, 2020 @01:23AM (#23788402)
FYI there are various utilities (Hammerspoon and Karabiner Elements, off the top of my head) that can make caps lock act as escape if pressed and released, control if used in conjunction with other keys. This took some getting used to, but thanks to the Touch Bar, I got used to it and now I find it invaluable. YMMV of course.
Re:Sampler for Mac Touchbars by jrib on Friday July 10, 2020 @05:24AM (#23789637)
I agree with both of you :)

https://karabiner-elements.pqrs.org/ has an option that maps caps lock to control when press in conjunction with another key and as escape when pressed alone

Re:Sampler for Mac Touchbars by rovr138 on Thursday July 09, 2020 @11:25PM (#23787844)
Thank you!