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