Skip to content

Commit b7d5cc8

Browse files
authored
README: add clipboard tool dependency (nvim-lua#886)
Fixes: nvim-lua#884 Neovim requires an external tool for proper system clipboard integration. Some systems install this already by default: - on Fedora xsel is already installed by default - on Windows using the choko install the win32yank is alredy installed This is not installed by default on ubuntu or debian so adding that to the dependencies list and to the install instructions snippets.
1 parent 8df3deb commit b7d5cc8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ If you are experiencing issues, please make sure you have the latest versions.
2424
External Requirements:
2525
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
2626
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
27+
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
2728
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
2829
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
2930
- Language Setup:
@@ -182,7 +183,7 @@ wsl --install
182183
wsl
183184
sudo add-apt-repository ppa:neovim-ppa/unstable -y
184185
sudo apt update
185-
sudo apt install make gcc ripgrep unzip neovim
186+
sudo apt install make gcc ripgrep unzip git xclip neovim
186187
```
187188
</details>
188189

@@ -192,14 +193,14 @@ sudo apt install make gcc ripgrep unzip neovim
192193
```
193194
sudo add-apt-repository ppa:neovim-ppa/unstable -y
194195
sudo apt update
195-
sudo apt install make gcc ripgrep unzip git neovim
196+
sudo apt install make gcc ripgrep unzip git xclip neovim
196197
```
197198
</details>
198199
<details><summary>Debian Install Steps</summary>
199200

200201
```
201202
sudo apt update
202-
sudo apt install make gcc ripgrep unzip git curl
203+
sudo apt install make gcc ripgrep unzip git xclip curl
203204
204205
# Now we install nvim
205206
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz

0 commit comments

Comments
 (0)