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

how can I load a custom plugin? #10

Closed
thewoolleyman opened this issue Sep 4, 2010 · 2 comments
Closed

how can I load a custom plugin? #10

thewoolleyman opened this issue Sep 4, 2010 · 2 comments

Comments

@thewoolleyman
Copy link

And where should it live (I'm assuming not in my ~/.vim, which is a checkout of janus)? Do I just stick something in my ~/.vimrc.local? If so, what? Or are other changes required? Yehuda mentioned something about pathogen...

@hyperbolist
Copy link

I created a ~/.vim.local/ directory and put a plugin directory under that. Then at the top of my ~/.vimrc.local file, I put the following:

" append local runtime
set runtimepath+=~/.vim.local
" load local plugins
runtime! plugin/*.vim

I put some tweaked colorschemes in ~/.vim.local/colors and they too are available.

YMMV

@zerowidth
Copy link
Contributor

You can use the ~/.janus.rake file for adding your own plugins now, just as they're loaded in the Janus Rakefile:

vim_plugin_task "my_hot_new_plugin", "https://github.com/plugin/hotness.git"

and then rake and you're good to go.

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

4 participants