How to save yanked content in NeoVim to clipboard

Please, Install xclip.

$ sudo pacman -S xclip

Then, follow this code in your init.vim.

$ set clipboard+=unnamedplus

tips

If you wanna check detail for clipboard, you can check with help command in NeoVim.

: help clipboard

関連記事