On 2011-07-29, sc wrote:
> On Friday, July 29, 2011 16:55:17 Gary Johnson wrote:
> 
> > (which I'm surprised even works) to
> 
> >    exe 'e' testme
> 
> well -- i was surprised THAT works and changed it to
> 
>     execute 'e ' . testme

>From ":help :exe":

    :exe[cute] {expr1} ..   Executes the string that results from
                            the evaluation of {expr1} as an Ex
                            command.  Multiple arguments are
                            concatenated, with a space in between.

Either way works--I just prefer the former.

Regards,
Gary

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

Reply via email to