On 3月13日, 上午3时42分, parekh <[email protected]> wrote:
> Hi,
>
> I have something like this -
> reg a0 = abc[0]
> reg a0 = abc[0]
> reg a0 = abc[0]
> reg a0 = abc[0]
>
> I am trying to create something like this -
> reg a0 = abc[0]
> reg a1 = abc[1]
> reg a2 = abc[2]
> reg a3 = abc[3]
>
> Any recommendations on how I can do this at a command line?

put your cursor on the first line,
input: qqyyp7l<C-A>jddkq
then, put cursor to second line, press 3...@q
now every thing is done :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to