Saturday, June 4, 2011

Re: Trying to escape tab in exe

* Tony Mechelynck <antoine.mechelynck@gmail.com> [110604 18:04]:
>
> Within single quotes, every character is taken literally, even a
> backslash, except that two single quotes mean one.
Aha!
> You should have used double quotes with backslash-escaping, like
> this (referring to your original post):
>
> exec 'e' a:dir . "/\t"
> or
> execute 'e ' . a.dir . "/\<Tab>"
:) Now we are getting somewhere. With your example above,
I get the directory itself in a vim buffer window. Which
is useful, but preferable, I want to see the wildmenu for
the directory.

As if I were to manually in ex type:
e /home/http/run/baker/xmlimport/models<Tab>

thanks
--
Tim
tim at johnsons-web dot com or akwebsoft dot com
http://www.akwebsoft.com

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