News for hackers. Stuff that matters.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by AdmiralAsshat on Thursday October 27, 2016 @04:24PM (#12809607)
Nah. Already pretty happy with my Dell XPS 13 running Fedora Linux. I imagine it'll be a couple of years before distros really take advantage of the 3200x1800 screen anyway.

Besides, no one who uses Vim is gonna be happy to see the physical Esc key go away.

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by msbarnett on Thursday October 27, 2016 @04:37PM (#12809797)
> Besides, no one who uses Vim is gonna be happy to see the physical Esc key go away.

What kind of self-respecting Vim user physically reaches up to the top corner of their keyboard constantly?

Even if you have a physical esc key up there you should be hitting ctrl-[ or remaping it onto the capslock. It's wasted motion to constantly pull off home row to hit escape.

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by splintercell on Thursday October 27, 2016 @04:41PM (#12809836)
Haha, I said the same thing to an emacs buddy who was expressing concerns about vim users, he sounded pissed that real Vim users don't use ESC, or even hjkl keys.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by emeraldd on Thursday October 27, 2016 @04:56PM (#12810025)
I do for one. I have capslock mapped to Ctrl. Of course, I started in EMACS and got sucked into vim and had already gotten used to the capslock as Ctrl.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by msbarnett on Thursday October 27, 2016 @05:07PM (#12810155)
I think putting ctrl on the capslock key is the more efficient move, honestly. But Vi was designed for a machine that had esc where your tab is. It's built for efficiency but you lose all of it when you have to physically pull your whole hand up off of the home row.

The Vim wiki has a lot of tips for more efficient mappings[1], but if you don't want to be dependent on your own idiosyncratic config, ctrl-[ is literally the keycode that the physical esc key generates, and it's soooo much easier to hit there's no reason not to retrain your muscle memory to prefer it.

[1] http://vim.wikia.com/wiki/Avoid_the_escape_key

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by lj3 on Thursday October 27, 2016 @07:04PM (#12811220)
Why choose? When I hold down caps lock, it acts like CTRL. When I hit it once, it acts like ESC.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by emeraldd on Friday October 28, 2016 @08:41AM (#12815141)
Got a tool that will do that on os x sierra? I used to us karabiner, but that's hosed by the updated until they can get elements cleaned up.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by lj3 on Friday October 28, 2016 @09:42AM (#12815658)
Have you tried Karabiner-elements[0]? I haven't used OS X the past few years, so I don't know if it actually works, but somebody suggested it on reddit.

[0]: https://github.com/tekezo/Karabiner-Elements

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by emeraldd on Monday October 31, 2016 @10:32AM (#12837020)
I have, it's not quite there yet ... I've been a fan of Karabiner since I first switched to mac.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by registered99 on Thursday October 27, 2016 @04:30PM (#12809688)
People who use Vim usually re-map caps-lock to ESC at a minimum, and possibly other uses. Mine is esc by itself, ctrl with any other key.

I do remap the function bar right now, though. That will take some getting used to.

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by cauterized on Friday October 28, 2016 @09:04AM (#12815305)
I remap caps lock to ctrl, since the ctrl key is also necessary for the command line, and the one on a Mac keyboard is in a painfully awkward location.

And remapping your vim shortcuts is great - when you're not constantly logging in to new instances or (don't ask) sharing logins with co-workers.

Re:Ask HN: Would You Upgrade to the New MacBook Pro? by mastre_ on Thursday October 27, 2016 @04:43PM (#12809865)
As I posted in another thread, I think it may actually be fine to have a different "feel" (touch vs physical) for escape, which is a very special key for us vim users (assuming you don't have it remapped).
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by kyriakos on Thursday October 27, 2016 @04:49PM (#12809946)
I keep seeing posts about remapping but I honestly don't get it why users should be forced to hacks and compromises to replace functionality which had no reason to be removed in the first place.
Re:Ask HN: Would You Upgrade to the New MacBook Pro? by registered99 on Friday October 28, 2016 @09:59AM (#12815851)
It's not really for a compromise. I think caps is a much more useful button when remapped. For how often it's used, it should be in a more home-row centric location.