Add clipboard support guide for WSL2 (#167)

To support Windows system clipboard in neovim on WSL2
This commit is contained in:
chaeing 2021-03-25 21:58:18 -07:00 committed by GitHub
parent af3d8997fa
commit c7e08f67d8
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,17 @@ $HOME/.config/nvim/vimscript/nv-vscode/init.vim
```bash
sudo pacman -S xsel
```
- WSL2
Make sure ~/bin is in your path in this case.
```bash
curl -sLo/tmp/win32yank.zip https://github.com/equalsraf/win32yank/releases/download/v0.0.4/win32yank-x64.zip
unzip -p /tmp/win32yank.zip win32yank.exe > /tmp/win32yank.exe
chmod +x /tmp/win32yank.exe
mv /tmp/win32yank.exe ~/bin
```
## LSP