summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchaeing <[email protected]>2021-03-25 21:58:18 -0700
committerGitHub <[email protected]>2021-03-26 00:58:18 -0400
commitc7e08f67d8baf54aead6027aa440fad43d2ac025 (patch)
treec6d09eae3142c7c09877e4c85115d9af79f4a804
parentaf3d8997fa8ccba8f168d9e1ed6fc5c8d3d0a3ad (diff)
Add clipboard support guide for WSL2 (#167)
To support Windows system clipboard in neovim on WSL2
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index ccdfa637..c75f5256 100644
--- a/README.md
+++ b/README.md
@@ -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