News for hackers. Stuff that matters.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by vectorpush on Monday January 16, 2017 @09:00PM (#13414620)
I am no longer a Mac user, but might I suggest remapping the escape key to another, it really saves a ton of time. Personally I use "hh", which makes some vim users cringe, but let me tell you, it's so much faster than escape.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by udp on Monday January 16, 2017 @09:18PM (#13414687)
Caps lock seems like an obvious one, no? It's on the home row and I've never used it in my entire typing life (apart from to turn it off if I turn it on by accident).
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by eridius on Monday January 16, 2017 @09:24PM (#13414709)
I always map Caps Lock to Control. It's pretty darn useful that way. In Vim I remap "jk" to escape.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by the_hoser on Monday January 16, 2017 @09:06PM (#13414639)
Oh no. We're not going there. My hands are not so small, and I've got the rattlesnake-like "hit esc" action down. Thinking about the command keys again sounds like a great way to discard all of my productivity for about three weeks.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by vectorpush on Monday January 16, 2017 @09:11PM (#13414653)
Fair enough, but I've heard similar reasoning espoused from other vim users who were reluctant to transition away from arrow keys. Perhaps you might find the productivity dip worth it in the long run, but I am not unsympathetic to the cost of shaking the routine up.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by WildUtah on Monday January 16, 2017 @10:42PM (#13415054)
In .vimrc:

    no <Right> $
    no <Left> ^
    no <Up> <C-U>
    no <Down> <C-D>
That should be enough to help newbies to stop using the arrow keys and put their right hands on hjkl as the Gods intended.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by eridius on Monday January 16, 2017 @09:26PM (#13414714)
I can vouch for this. It's much faster for me to hit "jk" (my preferred mapping for escape) than it is to hit the Escape key. And given how frequently you need Escape in Vim, the time adds up really fast. It's also just a lot more comfortable, because my hands can remain on the home row.
Re:15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class... by flukus on Monday January 16, 2017 @09:19PM (#13414692)
I've had problems remapping basic functionality keys in the past. I switched ':' and ';' for instance, it works great in vim when my profile is loaded but leads to a lot of mistakes in other environments, either machines or one of the million emulators.