Re:What is in your .vimrc
by markbao on Saturday August 20, 2011 @06:23PM
(#2907884)
from those answers:
Do this now. Probably not the vimrc line that has saved me the most time... but definitely saved me the most pinky pain.
[ Parent
| on HN ]
Why not take it one step further with:
nore <Space> :
Let your thumbs do the work.What do you use for leader?
:
Re:What is in your .vimrc
by wahnfrieden on Sunday August 21, 2011 @01:23AM
(#2908576)
That's awful, 2 keystrokes for <leader>? Use \ for leader, or , for leader and \ for ;
That's no better, I think. There is no standard location for \
Try using <space> instead. The default binding is useless for the largest key.
Re:What is in your .vimrc
by wahnfrieden on Sunday August 21, 2011 @03:24PM
(#2909980)
Why does it matter if there's no standard location? Do you use the ; command that often in vim anyway that this would be an issue if it were mapped to \?
Ymmv but it unfortunately matters for me. I switch between my work PC and personal Macbook daily. The different positions for \ drive me crazy, but as least it's rarely used on Macs due to sane file paths. Using a moving key in Vim is a bad idea.
Re:What is in your .vimrc
by wahnfrieden on Wednesday August 24, 2011 @12:55PM
(#2921472)
I just can't imagine prioritizing many commands over the <leader> key, which gets a load of use from me. Try space then, I guess.