alias nvim over vim if installed

This commit is contained in:
insects 2024-07-16 00:10:31 +02:00
parent 9f9f27bd30
commit c50a5ce360

View file

@ -75,6 +75,11 @@ alias cd.. "cd ../"
alias rmrf "rm -rf" alias rmrf "rm -rf"
alias czm chezmoi alias czm chezmoi
# If nvim is installed, alias vim with it
if command --search nvim >/dev/null
alias vim nvim
end
# overrides of defaults # overrides of defaults
alias mkdir "mkdir -p" alias mkdir "mkdir -p"
alias cp "cp -r" alias cp "cp -r"