Friday, October 1, 2010

Re: Question about environment variables in vimscript

> In vimscript, it is possible to modify the environment variables.

:let $foo = 1
:! echo $foo
1

I'd say you can set environment variables but this affects only
processes started by vim since the values of environment variables are
usually inherited from the caller.

Since Windows could be slightly different you might need to specify
more precisely which OS you use and what you're trying to achieve.

Regards,
Tom

--
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

No comments:

Post a Comment