dotfiles/.bin/vim

9 lines
116 B
Bash
Executable File

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