Wonderful!
Thank yo so much!
On 8月14日, 上午12时12分, Gary Johnson wrote:
> On 2010-08-13, eliweiq001 wrote:
> > suppose I have such sentences in vimrc:
>
> > source .\mydir\aaa.vim
> > set xxxdir=.\mydir
>
> > and if now I add a new a variable
>
> > l
Ответ на сообщение «Re: use the variable»,
присланное в 20:12:30 13 августа 2010, Пятница,
отправитель Gary Johnson:
> exe "source " . yyy . "\aaa.vim"
Here you must replace yyy with fnameescape(yyy), see :h fnameescape().
Текст сообщения:
> On 2010-08-13, eliwe
On 2010-08-13, eliweiq001 wrote:
> suppose I have such sentences in vimrc:
>
> source .\mydir\aaa.vim
> set xxxdir=.\mydir
>
>
>
> and if now I add a new a variable
>
> let yyy = ".\mydir"
>
>
> Now can I use the variable yyy instead of .\my
let &xxxdir = yyy
:help expr-option
--
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
suppose I have such sentences in vimrc:
source .\mydir\aaa.vim
set xxxdir=.\mydir
and if now I add a new a variable
let yyy = ".\mydir"
Now can I use the variable yyy instead of .\mydir in the sentences
above ? How ?
Thanks!
--
You received this message from the "vim_us