Custom keys with NERDComment plugin and remapped Leader?
Posted
by Paul Wicks
on Stack Overflow
See other posts from Stack Overflow
or by Paul Wicks
Published on 2010-04-13T03:57:36Z
Indexed on
2010/04/13
4:03 UTC
Read the original article
Hit count: 351
I'm trying to set up the NERDComment plugin in vim, but I'm having some trouble with the keys. I'd like to set the basic toggle functionality (comment a line if it's uncommented, uncomment if it's commented) to be c. The problem is that I've remapped the Leader to be ,
, which is the same key that NERD wants for all of it's hotkeys. Anyone have any idea as to how to set this up?
© Stack Overflow or respective owner