mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
docs(INSTALL.md): remove update-alternatives instructions (#27060)
There are various other ways people can mimic the old commands, and plenty of people that have never heard of the old commands. This increases the consistency of the whole document by restricting it to the scope to installation of Nvim and its CLI commands.
This commit is contained in:
parent
ba9f86a9ce
commit
96d0f4a2d7
22
INSTALL.md
22
INSTALL.md
@ -155,17 +155,6 @@ Python (`:python`) support is installable via the package manager on Debian unst
|
||||
|
||||
sudo apt-get install python3-neovim
|
||||
|
||||
If installing via appimage, the following commands may be helpful in updating default paths:
|
||||
|
||||
# CUSTOM_NVIM_PATH=/usr/local/bin/nvim.appimage
|
||||
# Set the above with the correct path, then run the rest of the commands:
|
||||
set -u
|
||||
sudo update-alternatives --install /usr/bin/ex ex "${CUSTOM_NVIM_PATH}" 110
|
||||
sudo update-alternatives --install /usr/bin/vi vi "${CUSTOM_NVIM_PATH}" 110
|
||||
sudo update-alternatives --install /usr/bin/view view "${CUSTOM_NVIM_PATH}" 110
|
||||
sudo update-alternatives --install /usr/bin/vim vim "${CUSTOM_NVIM_PATH}" 110
|
||||
sudo update-alternatives --install /usr/bin/vimdiff vimdiff "${CUSTOM_NVIM_PATH}" 110
|
||||
|
||||
### Exherbo Linux
|
||||
|
||||
Exhereses for scm and released versions are currently available in repository `::medvid`. Python client (with GTK+ GUI included) and Qt5 GUI are also available as suggestions:
|
||||
@ -336,17 +325,6 @@ If you're using an older version Ubuntu you must use:
|
||||
|
||||
For instructions to install the Python modules, see [`:help provider-python`].
|
||||
|
||||
If you want to use Neovim for some (or all) of the editor alternatives, use the following commands:
|
||||
|
||||
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
|
||||
sudo update-alternatives --config vi
|
||||
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
|
||||
sudo update-alternatives --config vim
|
||||
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
|
||||
sudo update-alternatives --config editor
|
||||
|
||||
Note, however, that special interfaces, like `view` for `nvim -R`, are not supported. (See [#1646](https://github.com/neovim/neovim/issues/1646) and [#2008](https://github.com/neovim/neovim/pull/2008).)
|
||||
|
||||
### Void-Linux
|
||||
|
||||
Neovim can be installed using the xbps package manager
|
||||
|
Loading…
Reference in New Issue
Block a user