diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index 39d5164..3c27e74 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -75,6 +75,11 @@ alias cd.. "cd ../" alias rmrf "rm -rf" alias czm chezmoi +# If nvim is installed, alias vim with it +if command --search nvim >/dev/null + alias vim nvim +end + # overrides of defaults alias mkdir "mkdir -p" alias cp "cp -r"