On 2021-05-28 11:47, 'Grant Taylor' via vim_use wrote:
> My understanding is that, by default, macros only exist in memory,
> are volatile, and not stored persistently.  The only live in vim's
> memory while vim is running.
> 
> There are some non-default options that you can use to change some
> of that.

Depends on whether vim was started in compatible mode or not.  The
gritty details of "should I default to compatible or not" is spelled
out at

  :help compatible-default

In compatible mode, it doesn't store registers in your viminfo,
whereas for nocp mode, it does by default:

  :help 'viminfo'
  Vi default: ""
  Vim default
   for MS-Windows: '100,<50,s10,h,rA:,rB:,
   for Amiga: '100,<50,s10,h,rdf0:,rdf1:,rdf2:
   for others: '100,<50,s10,h)

So based on a number of factors (initial 'cp' determination,
overridden 'cp' setting, manually setting 'viminfo', manually setting
'viminfofile', etc), the results may vary. Tuneable to the point of
fault^Wconfusion. ;-)

-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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20210528131026.694cf5c9%40bigbox.attlocal.net.

Reply via email to