From d5eba0752a8c047bf3ddb802eb882d1824c9801e Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 17 May 2018 20:48:33 +0200 Subject: [PATCH] Added Neovim AppImage to README and fixed some minor errors. --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e08238e..5c598f7 100644 --- a/README.md +++ b/README.md @@ -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.