neovim homebrew
parent
684a336aeb
commit
551557844b
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue