switch to nvim on supported systems

This commit is contained in:
Barak Michener 2015-01-24 19:04:18 -05:00
parent be80a3de6c
commit 3d9575359e
2 changed files with 8 additions and 2 deletions

7
bin/vi Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
if [ -n "`which nvim`" ]; then
nvim "$@"
else
vim "$@"
fi