1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-16 14:10: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