- ... I don t know if it s quicker, but you could use ... -- You will be Told about it Tomorrow. Go Home and Prepare Thyself.Message 1 of 2 , Feb 1, 2002View SourceOn Fri, Feb 01, 2002 at 09:20:29AM -0800, Xiangjiang Ma wrote:
>I don't know if it's quicker, but you could use
> Any quick way to write a register content to a file?
> Currently, I have to go through (eg for @a)
> o<C-R>a<Esc>:.,']w myfile_for_register_a<CR>
:redir >> file
in a mapping:
:map <whatever> :redir! > FILE<CR>:echo @a<CR>:redir END<CR><CR>
You will be Told about it Tomorrow. Go Home and Prepare Thyself.