> I have a script that set some environment variables using let, like:
> let $TAB_WIDTH=4
> 
> Then another script use this environment variable to setup some options in
> vim, I am trying to use:
> set tabstop=$TAB_WIDTH

You can use :let instead, using a setting-variable:

   :let &tabstop=$TAB_WIDTH

which you can read about at

   :help :let-&

-tim



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to