Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using different leader #50

Closed
fncll opened this issue Nov 22, 2011 · 2 comments
Closed

using different leader #50

fncll opened this issue Nov 22, 2011 · 2 comments

Comments

@fncll
Copy link

fncll commented Nov 22, 2011

Can I use a different leader with NERDCommenter?

I have the following in my .gvimrc:
let mapleader = ","
and it works fine with some other mappings I use, such as:
nnoremap :noh

But when it fails to change NERDCommenter and :map shows

n \ca NERDCommenterAltDelims
v \cA NERDCommenterAppend
n \cA NERDCommenterAppend
etc.

@ajzafar
Copy link

ajzafar commented Nov 22, 2011

Try setting your mapleader in your .vimrc. It seems Vim sources your .gvimrc after sourcing plugins. Setting your mapleader should be done in .vimrc anyway.

@fncll
Copy link
Author

fncll commented Nov 22, 2011

Thanks, that did it. I guess I need to read up on what commands should go in which file!

@fncll fncll closed this as completed Nov 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants