> Reply to message «Re: display faster output of external app»,
> sent 23:01:52 26 August 2011, Friday
> by Gary Johnson:
>
> > current line with g:output. Therefore you could replace
> >
> > call s:OPC.AddValueAtEndOfFile(g:output)
> >
> > with
> >
> > exe "s/ .*/ ".g:output."/"
> >
> > or even
> >
> > exe "s/ .*/ ".system(s:cmd)."/"
> By the way, you forgot that `^' does not go to the start of the
> line. It goes to first non-blank (or to the end of line if it does
> not exist).
Right. I knew that when I was reading the original function, then
spaced it when I wrote my proposed replacement.
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
No comments:
Post a Comment