Remove sections on linking, replace with direct install instructions

This commit is contained in:
Evie Litherland-Smith 2022-11-29 08:58:34 +00:00
parent 816f1117d3
commit 28f1ff1154
2 changed files with 5 additions and 24 deletions

View file

@ -10,23 +10,12 @@ ln -s "$HOME/bin/nvim.appimage" "$HOME/bin/nvim" # Optional to avoid extension
# ./nvim.appimage
```
### (Alternate) Installing on Ubuntu
## Installing configuration
```bash
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
sudo apt-get install python-dev python-pip python3-dev python3-pip
```
## Linking setup file
```bash
mkdir -p $HOME/.config/nvim/
ln -s $(readlink -f init.lua) $HOME/.config/nvim/init.lua
ln -s $(readlink -f lua) $HOME/.config/nvim/lua
mkdir -p $HOME/.goneovim/
ln -s $(readlink -f goneovim.toml) $HOME/.goneovim/settings.toml
git clone git@github.com:elitherl/vim-config.git $XDG_CONFIG_HOME/nvim
# or using symlink
git clone git@github.com:elitherl/vim-config.git /path/to/directory
ln -s /path/to/directory $XDG_CONFIG_HOME/nvim
```
### Installing `Packer` plugin manager

View file

@ -5,11 +5,3 @@ PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
if [ ! -d $PACKER_DIR ]; then
git clone --depth 1 https://github.com/wbthomason/packer.nvim $PACKER_DIR
fi
# Link config directories
mkdir -p $HOME/.config/nvim/
ln -s $(readlink -f init.lua) $HOME/.config/nvim/init.lua
ln -s $(readlink -f lua) $HOME/.config/nvim/lua
mkdir -p $HOME/.goneovim/
ln -s $(readlink -f goneovim.toml) $HOME/.goneovim/settings.toml