Added Neovim AppImage to README and fixed some minor errors.
This commit is contained in:
parent
fb443bc295
commit
d5eba0752a
22
README.md
22
README.md
@ -2,10 +2,16 @@ This repository contains my personal [neovim](https://neovim.io/) configuration
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
### Install neovim
|
### 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
|
```bash
|
||||||
sudo apt-get install neovim
|
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:
|
Alternatively it has to be build from source:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/neovim/neovim
|
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
|
```bash
|
||||||
sudo apt-get install fonts-powerline
|
sudo apt-get install fonts-powerline
|
||||||
sudo apt-get install exuberant-ctags
|
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 --upgrade pip
|
||||||
pip3 install jupyter
|
pip3 install jupyter
|
||||||
```
|
```
|
||||||
@ -54,21 +61,26 @@ Then, clone the repository into you local `~/.config/nvim` directory, using:
|
|||||||
```bash
|
```bash
|
||||||
git clone https://git.dennispotter.eu/Dennis/neovim-config ~/.config/nvim
|
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
|
```bash
|
||||||
(cd ~/.config/nvim && git pull)
|
(cd ~/.config/nvim && git pull)
|
||||||
```
|
```
|
||||||
in your `~/.bashrc` or as a crontab.
|
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
|
```bash
|
||||||
cd ~/.config/nvim
|
cd ~/.config/nvim
|
||||||
git init
|
git init
|
||||||
git remote add origin git remote add origin git@dennispotter.eu:Dennis/neovim-config.git
|
git remote add origin git remote add origin git@dennispotter.eu:Dennis/neovim-config.git
|
||||||
git pull origin master
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user