Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: