1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-14 05:00:59 +02:00
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