How to redirect ex command output into current buffer or file?
:redir >name_of_registers_file :registers :redir END :r name_of_registers_file :help redir The last command is very useful, since there are lots of options for redirection: to variables, to registers, how to append, further cornucopia. I still find it weird and annoying that it uses END that way, but since everything else that can follow redir has to … Read more