4 ms·
I agree. I initially found many recommendations to bind "," as leader, and it was convenient, but after learning what ";" and "," do, I've changed my leader to
by sooheon 12y ago
I agree. I initially found many recommendations to bind "," as leader, and it was convenient, but after learning what ";" and "," do, I've changed my leader to <space>.
- pmoriarty 12y agoSPACE is good as leader, and also as : But I've found it to be most useful as page-down (with BACKSPACE as page-up).
- deckiedan 12y agoI'm also using <space> as my leader. In case anyone else wants to try it, and struggles to make it work, I had to do the following to make it work: map <space> <leader> rather than simply setting mapleader to space directly. If someone else knows why, I'd be interested to know!
- lucb1e 12y agoWhat's a leader? Googling some, it seems to mean a backslash in the vimrc... but I don't really understand what you mean.
- tsm 12y agoIt's a way of namespacing commands—if you install NERDCommenter, for example, <leader>cc comments out the current line (whereas cc by itself changes the current line). It's traditionally bound to backspace, which is actually-free, but many people bind it to keys that are free but never used personally.