neovim homebrew

main
Tran Hau 2020-05-22 14:46:43 +07:00
parent 684a336aeb
commit 551557844b
1 changed files with 10 additions and 4 deletions

View File

@ -1,15 +1,21 @@
# [Neovim](https://github.com/neovim/neovim)
| Distribution | Package |
| ------------ | -------- |
| Archlinux | `neovim` |
| Ubuntu | `neovim` |
| Distribution | Package |
| ------------ | ---------- |
| Archlinux | `neovim` |
| Ubuntu | `neovim` |
| Homebrew | `neovim` ` |
Add to `~/.bashrc`:
```bash
export EDITOR=nvim
# Archlinux, Ubuntu
[[ -f /usr/bin/nvim ]] && \
alias vim="nvim"
# Homebrew
[[ -f /usr/local/bin/nvim ]] && \
alias vim="nvim"
```