Tuesday, December 22, 2009

Re: Avoiding error message

On 22 déc, 20:06, Christian Brabandt <cbli...@256bit.org> wrote:
> Hi epanda!
>
> On Di, 22 Dez 2009, epanda wrote:
>
> > this provides me error message
> > silent! %s/\/\//\//g
> > E486
>
> It shouldn't and it does not here. Besides, for a substitute command,
> you can prevent error messages by an extra flag. See :h :s_flags
>
> regards,
> Christian
> --
> :wq!

Sorry for the first error message Sergey, I will have a look at the
flag.

I have done some vimscript (about 1000 lines of script) but it spends
too much time (more than 100 seconds to generate 1Mo of Xml data from
csv)

Sergey and Christian, do you know some best practice of func to use
into vimscript ?

I have seen that \+ is to be banned cause it cost a lot of time.

Have you got some advises ?

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: