News for hackers. Stuff that matters.
Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @02:58PM (#12808418)
Maybe I can remap some emoji to Vim functions.
Re:MacBook Pro by dguaraglia on Thursday October 27, 2016 @03:08PM (#12808579)
I love the fact that they replaced Esc with... Siri. Now I can tell Siri to move me between normal and insert mode.
Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @03:12PM (#12808637)
"Hey Siri, escape colon percent s slash stupid slash courageous slash g enter"

"That's an interesting question, Jake."

Re:MacBook Pro by sosuke on Thursday October 27, 2016 @04:19PM (#12809538)
Re:MacBook Pro by sorenjan on Thursday October 27, 2016 @06:46PM (#12811048)
Add VR goggles and this is the future of software engineering.
Re:MacBook Pro by cygned on Thursday October 27, 2016 @03:26PM (#12808822)
"Hey Siri, ... ysiw(ea, param<Esc>"
Re:MacBook Pro by sly010 on Thursday October 27, 2016 @03:45PM (#12809091)
I guess it's time to remap CapsLock to ESC. Something we all should have done a long ago anyway.
Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @04:10PM (#12809411)
Caps is remapped to control though!
Re:MacBook Pro by rootbear on Thursday October 27, 2016 @05:14PM (#12810234)
I saw something yesterday to the effect that you can have your cake (Control) and eat it (ESC) too. The Caps Lock key can be set so that if it is pressed and released alone, it sends Escape, but if you use it as a modifier, Ctrl-A, say, then it's Control. I think that's clever, but my opinion might change after I try it.
Re:MacBook Pro by bobwaycott on Thursday October 27, 2016 @06:53PM (#12811111)
Here's a comment of mine elsewhere explaining how I do exactly this (and more): https://news.ycombinator.com/item?id=12810873
Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @06:42PM (#12811009)
That sounds interesting, do you have a link?
Re:MacBook Pro by bobwaycott on Thursday October 27, 2016 @06:53PM (#12811108)
Here's another comment of mine explaining how I do it: https://news.ycombinator.com/item?id=12810873
Re:MacBook Pro by thomasahle on Thursday October 27, 2016 @04:33PM (#12809721)
That sounds more like an emacs thing to do.

Well, you could map control to escape then :-)

Re:MacBook Pro by bobwaycott on Thursday October 27, 2016 @06:55PM (#12811139)
You can map it to both, actually. :)
Re:MacBook Pro by sly010 on Thursday October 27, 2016 @04:30PM (#12809686)
Time to remap control to ESC then!
Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @04:43PM (#12809872)
Eventually, no one else will be able to use my computer as all keys will be remapped. That's what I call physical security!
Re:MacBook Pro by feifan on Thursday October 27, 2016 @05:13PM (#12810220)
You can already do that if you type Dvorak :P
Re:MacBook Pro by widforss on Friday October 28, 2016 @06:33AM (#12814576)
I'm in college, and every time I turn an exercise in the assistant takes my keyboard, tries to navigate Vim with my Dvorak setup and stares blankly as something completly different than what they expected happened.
Re:MacBook Pro by fernandotakai on Thursday October 27, 2016 @05:15PM (#12810244)
caps is remapped to control when holding, esc when pressing!
Re:MacBook Pro by stephenr on Thursday October 27, 2016 @03:05PM (#12808533)
The whole point is that you could have contextual 'buttons' that are appropriate for what you're doing in <App>

But that sounds too much like an easy solution for Vim users, and what would they have to piss and moan about then?

Re:MacBook Pro by jakebasile on Thursday October 27, 2016 @03:10PM (#12808611)
I already have contextual buttons. I remap keys to what I want, that's one of the main benefits of Vim's multi modal system. I don't need an expensive gimmick to do so.
Re:MacBook Pro by stephenr on Friday October 28, 2016 @02:18AM (#12813538)
So, to summarise your point of view:

Vim has contextual physical button remapping, and it's a positive thing.

Apple adds a hardware + software feature to provide a context-sensitive multi-touch region allowing for multiple types of physical input & visual feedback in any application, and it's a gimmick?

Gotcha.

Re:MacBook Pro by jakebasile on Friday October 28, 2016 @03:14AM (#12813730)
It's a gimmick because this is already possible, even without yet another piece of glass to pay for and repair and that comes at the cost of physical keys It looks flashy and futuristic and cool, but it adds no value that could not be gained elsewhere, cheaper, with greater utility.

I'm also not only talking about vim here. Nearly any PC game in the past two decades or more allows key rebinding. Many even allow macros. Most GUI IDEs offer the same. This isn't new.

Lastly, you seem to want to characterize me as "pissing and moaning". Personal attacks won't get you anywhere with me.

Re:MacBook Pro by stephenr on Friday October 28, 2016 @04:41AM (#12814080)
Oh right, silly me. I forgot that traditional individual physical keys can turn into sliders/scrubbers, display waveforms, show scrollable image previews contextually.

> Nearly any PC game in the past two decades or more allows key rebinding.

Right, I forgot that mapping X to Up is the same as showing a colour picker slider when you need to choose a colour.

Re:MacBook Pro by jakebasile on Friday October 28, 2016 @12:39PM (#12817860)
They can't, but there's a big display in front of me that can show these things and I can see it without looking down. And yes, mapping game controls can be as simple as you describe or extremely complex, especially if you involve software outside the game such as the drivers for most gaming boards.

You seem to be far too hostile for a conversation about a piece of glass on a computer. You should take a break.