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 # ./nvim.appimage
``` ```
### (Alternate) Installing on Ubuntu ## Installing configuration
```bash ```bash
sudo apt-get install software-properties-common git clone git@github.com:elitherl/vim-config.git $XDG_CONFIG_HOME/nvim
sudo add-apt-repository ppa:neovim-ppa/unstable # or using symlink
sudo apt-get update git clone git@github.com:elitherl/vim-config.git /path/to/directory
sudo apt-get install neovim ln -s /path/to/directory $XDG_CONFIG_HOME/nvim
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
``` ```
### Installing `Packer` plugin manager ### 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 if [ ! -d $PACKER_DIR ]; then
git clone --depth 1 https://github.com/wbthomason/packer.nvim $PACKER_DIR git clone --depth 1 https://github.com/wbthomason/packer.nvim $PACKER_DIR
fi 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