Browse Source

[nvim]: set vim alias for nvim.

master
Fredrik Ekre 4 years ago
parent
commit
c90383f883
  1. 3
      .bashrc.dotfiles

3
.bashrc.dotfiles

@ -41,7 +41,8 @@ fi @@ -41,7 +41,8 @@ fi
# Set the editor
if command -v nvim &> /dev/null; then
alias vim=nvim
export EDITOR=nvim
elif command -v vim &> /dev/null; then
else
export EDITOR=vim
fi

Loading…
Cancel
Save