dotfiles/.bin/vim

9 lines
116 B
Plaintext
Raw Permalink Normal View History

2019-08-12 10:12:10 +03:00
#!/bin/sh
NVIM=$(which nvim)
if [ -n "${NVIM} ] && [ -x "${NVIM} ]; then
exec ${NVIM} "$@"
else
exec vim "$@"
fi