TIL
Always use os clipboard in neovim
23.10.2023In neovim it is possible to use the os clipboard manually, but it is also possible to make it the default behaviour with:
Viml
set clipboard+=unnamedplus
Lua
vim.opt.clipboard = 'unnamedplus'
See :help clipboard
for more.