Copies a vim
register to the clipboard using OSC52 terminal sequences. Works over SSH.
Terminal must natively support OSC52 sequences (e.g. kitty, alacritty, iterm2, ...).
Requires printf
and base64
.
Using vim-plug:
Plug 'mwtkrayer/vim-regclip'
Copy nameless register to system clipboard:
:RegToClip
Copy register "a
to system clipboard:
:RegToClip a