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

vimpager always uses system vim... #65

Closed
RobertAudi opened this issue Oct 2, 2013 · 2 comments
Closed

vimpager always uses system vim... #65

RobertAudi opened this issue Oct 2, 2013 · 2 comments

Comments

@RobertAudi
Copy link

I installed MacVim on my system, and I use MacVim's terminal Vim, which I aliased to vim.
vimpager always uses the system vim, which is a bit troublesome since I have the YouCompleteMe plugin, which requires Vim 7.3.584+, and the system Vim is a couple versions below that. So I get an error message from YouCompleteMe everytime I run vimpager...

There should be a way to specify the path to Vim imho, with a fallback to system Vim.

@rkitover
Copy link
Owner

rkitover commented Oct 4, 2013

Hi Aziz,

vimpager launches a 'vim' command, it cannot be aware of your shell aliases.

Here is how you can have it use MacVim instead:

http://effectif.com/vim/running-vim-with-ruby-support-in-terminal

Let me know if this works for you.

@RobertAudi
Copy link
Author

Hi @rkitover
Your fix worked like a charm.

Thanks a lot 👍

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