Re: How to access to the string inside a string variable in a :e command

2011-03-06 Thread Jean Johner
Thank you Tim and Ben Regards, Jean -- 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

Re: How to access to the string inside a string variable in a :e command

2011-03-06 Thread Benjamin R. Haskell
On Sun, 6 Mar 2011, Tim Chase wrote: On 03/06/2011 01:29 PM, Jean Johner wrote: let foobar = "test2.f" Using echo foobar results in test2.f (OK) Now I want to open test2.f :e foobar opens a file foobar :e 'foobar' opens the file 'foobar' What is the syntax to open test2.f using the foobar vari

Re: How to access to the string inside a string variable in a :e command

2011-03-06 Thread Tim Chase
On 03/06/2011 01:29 PM, Jean Johner wrote: let foobar = "test2.f" Using echo foobar results in test2.f (OK) Now I want to open test2.f :e foobar opens a file foobar :e 'foobar' opens the file 'foobar' What is the syntax to open test2.f using the foobar variable. You have to build the string an

How to access to the string inside a string variable in a :e command

2011-03-06 Thread Jean Johner
Hello, A beginner's question. I create the string variable foobar using let foobar = "test2.f" Using echo foobar results in test2.f (OK) Now I want to open test2.f :e foobar opens a file foobar :e 'foobar' opens the file 'foobar' What is the syntax to open test2.f using the foobar variable. Best