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