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

Can't install with Pathogen #119

Open
ochalkley-advai opened this issue Sep 17, 2022 · 2 comments
Open

Can't install with Pathogen #119

ochalkley-advai opened this issue Sep 17, 2022 · 2 comments

Comments

@ochalkley-advai
Copy link

ochalkley-advai commented Sep 17, 2022

There are no installation instructions for Pathogen so I cloned it to my ~/.vim/bundle directory and added let g:context_enabled = 1 to my ~/.vimrc but it doesn't seem to work.

Can anyone help me use this plugin with pathogen?

Using vim 8.2.5147 on Ubuntu 20

@idbrii
Copy link

idbrii commented Jun 11, 2023

Do :ContextToggle and see if that works or reports errors. That will clarify whether the plugin is failing to load or just failing to display.

g:context_enabled should be unnecessary because context defaults to enabled. Otherwise, cloning it to ~/.vim/bundle is how I have it installed with pathogen, but I also have these settings:

" I don't like extra mappings
let g:context_add_mappings = 0
" Disable by default and use mapping to access.
let g:context_enabled = 0
nnoremap <silent> <Leader>ic :<C-u>ContextToggle<CR>:echo g:context.enabled ? "with context" : "no context"<CR>

But it should work without those.

@ochalkley-advai
Copy link
Author

Thanks for the reply but I ended up just using Plug as a plugin manager instead and so can't test if this works now.

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