commit 96d0f4a2d71662032b3a17224a0a9ef0a1861d6a
parent ba9f86a9cee58dc32ab875da1fd7eac9bc9e88d7
Author: Junghyeon Park <j824h@outlook.com>
Date: Fri, 19 Jan 2024 17:34:51 +0900
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.
Diffstat:
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/INSTALL.md b/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