plugins.yanky.settings.system_clipboard.clipboard_register

Choose the register that is synced with ring (from above). If &clipboard is empty then * is used.

Type: null or string or raw lua code

Default: null

Plugin default: null

Declared by:

plugins.yanky.settings.system_clipboard.sync_with_ring

Yanky can automatically adds to ring history yanks that occurs outside of Neovim. This works regardless to your &clipboard setting.

This means, if &clipboard is set to unnamed and/or unnamedplus, if you yank something outside of Neovim, you can put it immediately using p and it will be added to your yank ring.

If &clipboard is empty, if you yank something outside of Neovim, this will be the first value you’ll have when cycling through the ring. Basically, you can do p and then <c-p> to paste yanked text.

Note that clipboard == unnamed uses the primary selection of the system (see :h clipboard for more details) which is updated on selection, not on copy/yank. Also note that the syncing happens when neovim gains focus.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: