diff --git a/.bashrc.dotfiles b/.bashrc.dotfiles index 5b4cc27..b752406 100644 --- a/.bashrc.dotfiles +++ b/.bashrc.dotfiles @@ -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