1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-06-01 17:20:11 +03: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