neovim homebrew
parent
684a336aeb
commit
551557844b
|
@ -1,15 +1,21 @@
|
||||||
# [Neovim](https://github.com/neovim/neovim)
|
# [Neovim](https://github.com/neovim/neovim)
|
||||||
|
|
||||||
| Distribution | Package |
|
| Distribution | Package |
|
||||||
| ------------ | -------- |
|
| ------------ | ---------- |
|
||||||
| Archlinux | `neovim` |
|
| Archlinux | `neovim` |
|
||||||
| Ubuntu | `neovim` |
|
| Ubuntu | `neovim` |
|
||||||
|
| Homebrew | `neovim` ` |
|
||||||
|
|
||||||
Add to `~/.bashrc`:
|
Add to `~/.bashrc`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
# Archlinux, Ubuntu
|
||||||
[[ -f /usr/bin/nvim ]] && \
|
[[ -f /usr/bin/nvim ]] && \
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
|
|
||||||
|
# Homebrew
|
||||||
|
[[ -f /usr/local/bin/nvim ]] && \
|
||||||
|
alias vim="nvim"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue