Live data from Hacker News

React Native Touchbar

github.com

11–20 of 32 posts

Re: React Native Touchbar

#11

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

This is an argument that the TouchBar should not be considered a deterrent for vim users since they shouldn't reach up to that row in the first place. Also, this seems to be a generic complaint about the TouchBar as a feature of MacBooks Pro, which has been discussed at great length in threads about the feature, and not relevant to this post, which is about adding TouchBar support to React Native apps.

I learned in a previous HN thread that the use of Esc originated with the ADM-3A [1] keyboard layout. It was next to Q where modern keyboards have the Tab key. In that context it makes sense to use, but yeah, Esc is not in a good place today.

Just me, or is it pretty silly to have the "STAY ON THE HOME ROW!" HJKL cursor keys, and then be reaching way out with your pinky all the time? Had people been frequently remapping it to caps before these MBPs came along, or did everyone just suck it up and assume it belongs there because reasons?

[1] https://en.wikipedia.org/wiki/ADM-3A

Re: React Native Touchbar

#12

Earlier quoted context omitted.

This is an argument that the TouchBar should not be considered a deterrent for vim users since they shouldn't reach up to that row in the first place. Also, this seems to be a generic complaint about the TouchBar as a feature of MacBooks Pro, which has been discussed at great length in threads about the feature, and not relevant to this post, which is about adding TouchBar support to React Native apps.

I learned in a previous HN thread that the use of Esc originated with the ADM-3A [1] keyboard layout. It was next to Q where modern keyboards have the Tab key. In that context it makes sense to use, but yeah, Esc is not in a good place today. Just me, or is it pretty silly to have the "STAY ON THE HOME ROW!" HJKL cursor keys, and then be reaching way out with your pinky all the time? Had people been frequently remapp…

I don't think of it as "reaching way out" so much as "whacking the corner."

Re: React Native Touchbar

#13

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

This is tediously off-topic. Please don't do this.

Re: React Native Touchbar

#14
Cool!. Does anybody know if there's a generic tool for using a smartphone in a similar way as the Mac TouchBar? I know there are some apps to create a virtual keyboards, but those are very limited.

Re: React Native Touchbar

#15

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

I can't depend on custom key mappings if I'm sshing into servers.

Why not? The servers don't know what physical keys you are pressing.

Re: React Native Touchbar

#16

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

Remember that you can always remap if that's a problem.

Re: React Native Touchbar

#17
post #13

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

This is tediously off-topic. Please don't do this.

I thought it was a reference to the React Native Touchbar demo's joke escape key, which alerts "Hello, vim!" when you press it.

Re: React Native Touchbar

#18
post #17
post #13

Earlier quoted context omitted.

This is tediously off-topic. Please don't do this.

I thought it was a reference to the React Native Touchbar demo's joke escape key, which alerts "Hello, vim!" when you press it.

Yes, it was. I forgot how uptight HN is about discussions.

Re: React Native Touchbar

#19

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

I've used vim on and off for about 15 years now. I now use Emacs + evil or any other editor with vim key bindings. I've never remapped the ESC key.

Do you all remap the key at the OS level or do you remap it in your .vimrc? Getting rid of caps lock is attractive enough that I'm willing to give it a try. I never knew it was a thing and that that many people remapped ESC.

I'm also wondering what happens to the caps lock green light on the Macbook. Does it stay off since caps lock is never actually enabled?

Re: React Native Touchbar

#20
post #4

lol is anyone really gonna use vim with the touchbar's escape key? Reaching up there with a physical keyboard is bad enough that I always remap caps lock to emit escape on tap (and control on hold). I can't imagine any vim power user being attracted to this new touch bar thing. In fact this MBPro release was the tipping point for me switching away from using a Mac to using Linux on a Thinkpad (and I will never go bac…

I and most everybody I know use caps lock remapped to Escape. It gets rid of the annoying caps lock key, is easier to press, and solves the missing escape key problem!

I'm doing this, I hate the fallout of having caps lock on in vim and not knowing it.
Post reply on HN