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

Chaining _vsvimrc to _vimrc to *real* _vimrc #1355

Closed
farmergreg opened this issue Apr 17, 2014 · 3 comments · Fixed by #2600
Closed

Chaining _vsvimrc to _vimrc to *real* _vimrc #1355

farmergreg opened this issue Apr 17, 2014 · 3 comments · Fixed by #2600
Assignees
Milestone

Comments

@farmergreg
Copy link

I'm running the latest (1.6.0.2). Note, my "real" _vimrc lives in ~/dotfiles/_vimrc which is a git repo. Here's the setup that I initially tried (doesn't work with vsvim):

~/_vsvimrc:

set vsvim_useeditordefaults
so ~\_vimrc

~/_vimrc:

"For windows computers... fix problems caused by using mklink
"and editing/saving $MYVIMRC by creating a dummy vimrc that points
"to the real one
let $MYVIMRC='~/dotfiles/_vimrc'
so $MYVIMRC

As a workaround, I changed _vsvimrc to skip using ~/_vimrc. Then everything works the way it should...:

~/_vsvimrc:

set vsvim_useeditordefaults
so ~\dotfiles\_vimrc
@jaredpar
Copy link
Collaborator

Thanks for reporting. Yeah at this time the $MYVIMRC style of variables is not supported. Hence that pair of lines in ~/_vimrc doesn't get run properly. Keeping this issue open to track that style of variable

@jaredpar jaredpar added this to the 1.7.0 milestone Apr 18, 2014
@farmergreg
Copy link
Author

Thanks! Great work btw - love this plugin!

@jaredpar jaredpar added the bug label Jan 2, 2015
@jaredpar jaredpar modified the milestones: 1.8.0, 1.8.1 Jan 2, 2015
@jaredpar jaredpar modified the milestones: 1.8.1, 2.1.0 Jul 20, 2015
@jaredpar jaredpar modified the milestones: vNext Candidate, Unscheduled Jan 9, 2018
@ricksladkey
Copy link
Collaborator

Type :vimhelp :let-environment for details on how this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants