Vim in WSL: `+yy` gives `W23: Clipboard register not available` despite `+clipboard`
I'm running Vim inside WSL and can't get the \`+\` register to work.
When I try:
`"+yy`
I get:
`W23: Clipboard regiter not available, using register 0`
However:
:echo has('clipboard') "1
:echo has('unnamedplus') "1
vim --version | grep clipboard
+clipboard
+xterm\_clipboard
I'm running /usr/bin/vim.gtk3, but:
- $DISPLAY is empty
- $WAYLAND\_DISPLAY is empty
- xclip/xsel are not installed
- clip.exe workgs from WSL (echo test | /mnt/c/Windows/System32/clip.exe)
Is this expected because I'm runnign a headless TTY, or should `vim.gt3` still be able to use the Windows clipboard? Is `win32yank.exe` the recommended solution?