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

NerdCommenter not working with pathogen (for me?) #29

Closed
sgharms opened this issue Mar 4, 2011 · 2 comments
Closed

NerdCommenter not working with pathogen (for me?) #29

sgharms opened this issue Mar 4, 2011 · 2 comments

Comments

@sgharms
Copy link

sgharms commented Mar 4, 2011

Commenter doesn't work under pathogen.vim (for me ;) )

I was following Tammer Saleh's guide to pathogen and set it up just as he described and have many plugins working well (including NERDTree).

I thought that adding NerdCommenter would work just as easily, but I can't get it to work.

$ ls -R ~/.vim/bundle/nerdcommenter
Rakefile doc      plugin

/Users/sgharms/.vim/bundle/nerdcommenter/doc:
NERD_commenter.txt tags

/Users/sgharms/.vim/bundle/nerdcommenter/plugin:
NERD_commenter.vim

Looks good to me...and the .vimrc?

 grep plugin ~/.vimrc
filetype plugin on

When vim loads up and I search the :NER autocomplete, I never see any NerdCom...

I must be missing something here right, some subtlety?

<leader>?

Maybe this should link to Vim's documentation of a keyboard leader?

Thanks for the help,

Steven

@scrooloose
Copy link
Collaborator

Hey Steven,

I have nerdcommenter installed via pathogen.

Does NERD_commenter.vim appear in the output of :scriptnames?

What happens when you edit a file and hit \cc ? See :help for an explanation of .

@sgharms
Copy link
Author

sgharms commented Mar 4, 2011

18: /Users/sgharms/.vim/bundle/nerdcommenter/plugin/NERD_commenter.vim

\cc: It works! I was using ',' as the leader. Evidently my bad. Thanks for the reply anyway. I've Steven-proofed the doc and added it as a pull request.

marklee77 pushed a commit to marklee77/vcsh-homedir-vim that referenced this issue Jun 3, 2014
* '<leader>' is not recognized by vimdoc
* '<Leader>' is!
* Binding this  in '|' keeps proper anchoring of the term to
  '<Leader>' or 'mapleader'
* Prevents questions like:
  preservim/nerdcommenter#29
This issue was closed.
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