why doesn't this work

:let i=0|'a, 'bg/^/s/^/\<p\=i>/|let i=i+1

i was expecting

<p0>
<p1>
<p2>
..
..
..

and so on, but i am getting

<p\=i>
<p\=i>
<p\=i>
<p\=i>
<p\=i>
<p\=i>
<p\=i>
<p\=i>


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

Reply via email to