Added information about alternative repositories (to get latest version) and about the update-alternatives command
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -4,6 +4,8 @@ This repository contains my personal [neovim](https://neovim.io/) configuration
 | 
			
		||||
### Install neovim 
 | 
			
		||||
On Ubuntu, with root rights, neovim can be installed through the packet manager with
 | 
			
		||||
```bash
 | 
			
		||||
sudo add-apt-repository ppa:neovim-ppa/stable
 | 
			
		||||
sudo apt-get update
 | 
			
		||||
sudo apt-get install neovim 
 | 
			
		||||
```
 | 
			
		||||
or with the AppImage
 | 
			
		||||
@@ -56,6 +58,15 @@ Since you don't want to use Vi(m) anymore after you setup this awesome environme
 | 
			
		||||
```bash
 | 
			
		||||
alias vi='nvim'
 | 
			
		||||
```
 | 
			
		||||
If you want to use Neovim for some (or all) of the editor alternatives, use the following commands:
 | 
			
		||||
```bash
 | 
			
		||||
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
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Then, clone the repository into you local `~/.config/nvim` directory, using:
 | 
			
		||||
```bash
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user