Neovim raw install
This commit is contained in:
parent
80c546b24e
commit
e7295b594a
5 changed files with 42 additions and 1 deletions
|
@ -1,4 +1,11 @@
|
|||
# Gaiety's (Jo Wroten's) Dotfiles
|
||||
|
||||
WIP
|
||||
Designed for Linux (Ubuntu).
|
||||
|
||||
## Setup
|
||||
|
||||
1. Install Git `apt-get install git`
|
||||
2. Clone this repo `git clone git@gitlab.com:gaiety/dotfiles.git ~/dotfiles`
|
||||
3. `cd ~/dotfiles`
|
||||
4. `sudo $0 install.sh`
|
||||
|
||||
|
|
3
install.sh
Normal file
3
install.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
sudo bash git/install.sh
|
||||
sudo bash nvim/install.sh
|
BIN
nvim/.README.md.swp
Normal file
BIN
nvim/.README.md.swp
Normal file
Binary file not shown.
16
nvim/README.md
Normal file
16
nvim/README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Gaiety's (Jo Wroten's) Dotfiles
|
||||
|
||||
## Neovim
|
||||
|
||||
Vim alternative `nvim`.
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
apt-get install software-properties-common
|
||||
apt-get install python-software-properties
|
||||
add-apt-repository ppa:neovim-ppa/stable
|
||||
apt-get update
|
||||
apt-get install neovim
|
||||
```
|
||||
|
15
nvim/install.sh
Normal file
15
nvim/install.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
echo " - Installing Neovim - "
|
||||
sudo apt-get install software-properties-common
|
||||
sudo apt-get install python-software-properties
|
||||
sudo add-apt-repository ppa:neovim-ppa/stable
|
||||
sudo apt-get update
|
||||
sudo apt-get install neovim
|
||||
sudo apt-get install python-dev python-pip python3-dev python3-pip
|
||||
|
||||
echo " - Setting Neovim as Default Editor - "
|
||||
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
|
||||
sudo update-alternatives --config vi
|
||||
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
|
||||
sudo update-alternatives --config vim
|
||||
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
|
||||
sudo update-alternatives --config editor
|
Loading…
Add table
Reference in a new issue