Add vim to neovim alias

This commit is contained in:
arti committed 2019-08-12 10:12:10 +03:00
1 parent c12d97ecb7
commit 6eeb4da26e
1 file changed
+8
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
NVIM=$(which nvim)
if [ -n "${NVIM} ] && [ -x "${NVIM} ]; then
exec ${NVIM} "$@"
else
exec vim "$@"
fi