alias nvim over vim if installed
This commit is contained in:
parent
9f9f27bd30
commit
c50a5ce360
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue