Thursday, March 28, 2013

MYVIMRC variable not set when invoked with -u option.

What I am trying to do is to set the path variable to something derived from the path of user vimrc file given by -u option so that I can customize vimrc files for different projects. But the thing is that $MYVIMRC or $MYGVIMRC is empty when vimrc is given via -u or -U option. They are correctly set when vim is invoked normally. If I am doing it in wrong way, is there any other correct way?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment