tpope / vim-commentary

commentary.vim: comment stuff out
http://www.vim.org/scripts/script.php?script_id=3695
5.9k stars 214 forks source link

Bare install not working #95

Closed nDimensionalSpace closed 6 years ago

nDimensionalSpace commented 6 years ago

Cleaned current config out completely, added pathogen and then commentary per docs here. :Commentary returns

E492: Not an editor command: Commentary

Also tried a manual loading of the plugin, via

set runtimepath^=~/.vim/bundle/vim-commentary/plugin/commentary.vim,

with the same result. Current version of vim is 7.4, which strikes me as old-ish . . . Any thoughts?

EDIT: Hmm, when I move it to the regular old plugin location, ~/.vim/plugin, it seems to be working fine. Now this seems more like a pathogen problem . . .

nDimensionalSpace commented 6 years ago

Ok, so, I was, lazily, putting the pathogen initialization in the gvimrc, instead of the vimrc, and it turns out that the gvimrc is run much too late to effect RUNTIMEPATH.

Problem solved.