sh: Add missing vim aliases

Added some simple aliases that were missing from the vi → vim → neovim
chain.
Can be useful for the odd moment when one does not know which exact vim
is installed.
This commit is contained in:
Marty Oehme 2022-01-11 17:27:28 +01:00
parent 941760fd13
commit 0d40c1bf67
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 2 additions and 0 deletions

View File

@ -11,10 +11,12 @@ unalias -a
if exist nvim; then
alias v="nvim"
alias vs="nvim -c 'ScratchPad'"
alias vim="nvim"
elif exist vim; then
alias v="vim"
else
alias v="vi"
alias vim="vi"
fi
# exit shell mimicks vim