Hacker News new | past | comments | ask | show | jobs | submit login

What's a leader?

Googling some, it seems to mean a backslash in the vimrc... but I don't really understand what you mean.




It'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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: