On 5/28/21 10:47 AM, Karthick Gururaj wrote:
> 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.
I just want to open the file and edit it. I don't want to go through
the manturations of vim, which is why I asked where they are stored.
You are right that politeness goes a long way, and so does the
politeness that requires short communication that is the point which is
exactly what I did.
Quoting back the manual for macros is significantly less polite in this
context. If the manual and tutorials had what I wanted, or if I could
discover the necessary file with find (and I don't know why that didn't
work actually), I wouldn't have asked the question on the public mailing
list. SO I asked specifically "where are they stored" They are stored
in memory is sort of an answer. They don't generate from the eether, so
they need to come from some file. I used to handle these things with
.vim, files or directly with vimrc in vim scripting language.
For future generations reading this.... vim writes back to ~/.viminfo
when you run the :wq! command. So you need to edit viminfo in vi mode
or another editor, otherwise it just overwrites your edits.
also qf in a command starts a new macro @F
where as qF just appends to the existing macro.
It says this in the docs, but the language is not clear.
Thanks for the help
Reuvain
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
--
--
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/7d9128d8-64ee-746b-2562-dd4572939ee6%40my.liu.edu.
No comments:
Post a Comment