1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-12-22 03:20:15 +02:00

Add vim to neovim alias

This commit is contained in:
Arti Zirk 2019-08-12 10:12:10 +03:00
parent c12d97ecb7
commit 6eeb4da26e

8
.bin/vim Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
NVIM=$(which nvim)
if [ -n "${NVIM} ] && [ -x "${NVIM} ]; then
exec ${NVIM} "$@"
else
exec vim "$@"
fi