Added Neovim AppImage to README and fixed some minor errors.

This commit is contained in:
Dennis Potter 2018-05-17 20:48:33 +02:00
parent fb443bc295
commit d5eba0752a
1 changed files with 17 additions and 5 deletions

View File

@ -2,10 +2,16 @@ This repository contains my personal [neovim](https://neovim.io/) configuration
## Installation
### Install neovim
On Ubuntu, with root rights, this can be done by running:
On Ubuntu, with root rights, neovim can be installed through the packet manager with
```bash
sudo apt-get install neovim
```
or with the AppImage
```bash
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage
```
Alternatively it has to be build from source:
```bash
git clone https://github.com/neovim/neovim
@ -24,7 +30,8 @@ To make use of all plugins in the `init.vim` file some additional software has t
```bash
sudo apt-get install fonts-powerline
sudo apt-get install exuberant-ctags
sudo apt-get install clang cmake
sudo apt-get install cmake
sudo apt-get install clang
pip3 install --upgrade pip
pip3 install jupyter
```
@ -54,21 +61,26 @@ Then, clone the repository into you local `~/.config/nvim` directory, using:
```bash
git clone https://git.dennispotter.eu/Dennis/neovim-config ~/.config/nvim
```
To make sure the environment stays up to date, set a
To make sure the environment stays up to date, set
```bash
(cd ~/.config/nvim && git pull)
```
in your `~/.bashrc` or as a crontab.
Alternatively, if you want to be able to update the config files on any client, setup a new git directory:
#### Alternative synchronization
If you want to be able to push changes back to the repository, setup a new git directory:
```bash
cd ~/.config/nvim
git init
git remote add origin git remote add origin git@dennispotter.eu:Dennis/neovim-config.git
git pull origin master
```
To make sure the environment stays up to date, set an `git pull` in a crontab.
Again, to make sure the environment stays up to date, set
```bash
(cd ~/.config/nvim && git pull)
```
in a crontab.