2020-05-06 17:27:40 +00:00
|
|
|
# [Neovim](https://github.com/neovim/neovim)
|
|
|
|
|
2020-05-24 10:44:40 +00:00
|
|
|
| Distribution | Package |
|
|
|
|
| ------------ | -------- |
|
|
|
|
| Arch Linux | `neovim` |
|
|
|
|
| Ubuntu | `neovim` |
|
|
|
|
| Homebrew | `neovim` |
|
2020-05-10 17:28:17 +00:00
|
|
|
|
2020-05-06 17:27:40 +00:00
|
|
|
Add to `~/.bashrc`:
|
2020-05-06 14:12:41 +00:00
|
|
|
|
2020-05-06 18:38:17 +00:00
|
|
|
```bash
|
2020-05-06 14:12:41 +00:00
|
|
|
export EDITOR=nvim
|
2020-05-19 18:21:59 +00:00
|
|
|
|
2020-05-24 10:44:40 +00:00
|
|
|
# Arch Linux, Ubuntu
|
2020-05-19 18:21:59 +00:00
|
|
|
[[ -f /usr/bin/nvim ]] && \
|
|
|
|
alias vim="nvim"
|
2020-05-22 07:46:43 +00:00
|
|
|
|
|
|
|
# Homebrew
|
|
|
|
[[ -f /usr/local/bin/nvim ]] && \
|
|
|
|
alias vim="nvim"
|
2020-05-06 14:12:41 +00:00
|
|
|
```
|