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

View file

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