there should be a / before the s,sorry.
2011/09/18 17:56 "Chen San" <[email protected]>:
> vim script,i happened to ask such a question not long before and someone
had
> solve it for me.
> let i =0
> g/^$s//\="a[".i."]"/g | let i+=1
> you can check my post here if you could read chinese,
> http://www.zfanw.com/blog/vim-substitute-script-function.html
> 2011/09/18 15:25 "Harvey Li" <[email protected]>:

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