73 lines
1.3 KiB
Markdown
73 lines
1.3 KiB
Markdown
# Neovim config
|
|
|
|
This repo contains my Neovim config only.
|
|
You still need Neovim and a few system tools installed.
|
|
|
|
## Fastest setup
|
|
|
|
```bash
|
|
git clone https://git.sailorpunisher.com/sailor/nvim-config.git ~/nvim-config
|
|
sh ~/nvim-config/bootstrap.sh
|
|
nvim
|
|
```
|
|
|
|
`bootstrap.sh` installs the dependencies for your distro, then installs the config.
|
|
|
|
If you already have the repo cloned and only want to refresh the config:
|
|
|
|
```bash
|
|
sh ~/.config/nvim/install.sh
|
|
```
|
|
|
|
## What gets installed
|
|
|
|
- `git`
|
|
- `neovim`
|
|
- `nodejs` + `npm` (for Mason / `bashls`)
|
|
- `ripgrep`
|
|
- `fd`
|
|
|
|
## Debian / Ubuntu
|
|
|
|
```bash
|
|
sudo apt update
|
|
sudo apt install -y git neovim nodejs npm ripgrep fd-find
|
|
```
|
|
|
|
Then run:
|
|
|
|
```bash
|
|
sh ~/nvim-config/bootstrap.sh
|
|
```
|
|
|
|
## Arch Linux
|
|
|
|
```bash
|
|
sudo pacman -S --needed git neovim nodejs npm ripgrep fd
|
|
```
|
|
|
|
Then run:
|
|
|
|
```bash
|
|
sh ~/nvim-config/bootstrap.sh
|
|
```
|
|
|
|
## Gentoo
|
|
|
|
```bash
|
|
sudo mkdir -p /etc/portage/package.use
|
|
printf '%s\n' 'net-libs/nodejs npm' | sudo tee /etc/portage/package.use/nvim-config-nodejs
|
|
sudo emerge --ask dev-vcs/git app-editors/neovim net-libs/nodejs sys-apps/ripgrep sys-apps/fd
|
|
```
|
|
|
|
Then run:
|
|
|
|
```bash
|
|
sh ~/nvim-config/bootstrap.sh
|
|
```
|
|
|
|
## Notes
|
|
|
|
- First run downloads plugins through `lazy.nvim`.
|
|
- The config lives in `~/.config/nvim`.
|
|
- `bashls` is included and should work once `nodejs`/`npm` are installed.
|