Thank you Tony,

It works fine. I`ll use it to save / restore macro commands written to
registers.

On Dec 24, 9:06 pm, Tony Mechelynck <[email protected]>
wrote:
> On 24/12/08 12:02, Шкоденко Тарас wrote:
>
> > I`m using GVim and Vim under Linux and GVim under Windows.
> > I have several recorded macro to some registers.
> > For example a: qa ... q, then I`m using @a to play it.
> > But how can I move saved macro from one OS to another?
> > Where do they saved on Linux (GVim and Vim) and on Windows (GVim) then
> > I`m quiting Vim?
>
> > All the best,
> > Shkodenko V. Taras
>
> It's saved in register a (or in any other register if you use a
> different letter) and saved in your viminfo (unless the 'viminfo' option
> includes <0 or "0). You can also put it to a file using "ap and yank it
> in Vim running on the other OS, using e.g. "ay$
>
> Best regards,
> Tony.
> --
> DEAD PERSON:  I don't want to go in the cart!
> CUSTOMER:     Oh, don't be such a baby.
> MORTICIAN:    I can't take him...
> DEAD PERSON:  I feel fine!
> CUSTOMER:     Oh, do us a favor...
> MORTICIAN:    I can't.
>                                    The Quest for the Holy Grail (Monty
> Python)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to