dotfiles/zsh/.config/oh-my-zsh/custom/nvim.zsh

6 lines
114 B
Bash

# Editor (NVIM)
if command -v nvim &> /dev/null; then
export EDITOR="nvim"
alias vim="nvim"
alias vi="nvim"
fi