On Fri, May 28, 2021 at 8:01 PM Ruben Safir <ruben.safir@my.liu.edu> wrote:
>
> On 5/28/21 10:21 AM, Tim Chase wrote:
> > On 2021-05-28 10:05, Ruben Safir wrote:
> >> On 5/28/21 10:02 AM, Christian Brabandt wrote:
> >>>> Where are the vim macros stored. I want to edit them by hand
> >>> in the register you specified.
> >>
> >> that is not the answer to the question I asked.
> >>
> >> Where are they STORED. Not how do I access them.
> >>
> >> Where on the filesystem are they stored.
> >
> > Christian answered your question: vim stores macros in *registers*.
>
> Which is where?
>
> ./.viminfo has command line history in it. The macros are stored in there?
I'm mostly an observer here - but..
A. You should know you got a useful and correct response to your question
B. If that is not the answer you are looking for, you should go back
and check the question you asked.
C. Entirely optional - but politeness goes a long way.
You can "edit" the contents of the registers in many ways. You can
even set the register directly with a :let
:let @a="D"
You can view it with an :echo @a
However - if you are using registers for recording macros - the
register may not have printable characters.
>
> >
> > However, vim optionally stores registers based on your 'viminfo'
> > setting: either in your ~/.viminfo (or in a different file if you
> > used the "n" option) or not at all. See
> >
> > :help viminfo-<
> > :help viminfo-n
> > :help viminfo-file
> >
> > -tim
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPa-eGb%3D%3DvCyZ-cCag%2BxkkXbWiVeCw%3DjsRpLNs6w5sq6eCd7oQ%40mail.gmail.com.
Friday, May 28, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment