386 B
386 B
Neovim
Distribution | Package |
---|---|
Archlinux | neovim |
Ubuntu | neovim |
Homebrew | neovim ` |
Add to ~/.bashrc
:
export EDITOR=nvim
# Archlinux, Ubuntu
[[ -f /usr/bin/nvim ]] && \
alias vim="nvim"
# Homebrew
[[ -f /usr/local/bin/nvim ]] && \
alias vim="nvim"