Does any kind of
:call yank(register_name, "string") API exist in vim? Or at least
:yank register_name "strings" - I can't find any way to yank in vimscript without modifying a VIM buffer.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community