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:
parent
941760fd13
commit
0d40c1bf67
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue