Saturday, June 4, 2011

Re: Trying to escape tab in exe

* Ben Schmidt <mail_ben_schmidt@yahoo.com.au> [110604 19:05]:
>
> Try the feedkeys() function:
>
> :call feedkeys('e ' . a.dir . "/\<Tab>")
>
> If you check out the help for feedkeys() you will see documentation
> about a second argument which you might like to include and experiment
> with to get the results you want reliably.
>
> I haven't tested it, so I may be completely wrong, but I think it
> might be what you want!
Ben, I think you may be on to something here:
executing
call feedkeys('e ' . a:dir . "/\<Tab>")
puts
/home/tim/prj/cgi/baker/xmlimport/models/^I
into ex
which is not what we want (it's interpeted as
a search pattern), however `feedkeys' looks promising.

It is late where I am at. I will pursue this further in the
morning.
Thanks everybody.
--
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