add vim -> nvim wrapper function

This commit is contained in:
Ben Harris 2018-08-08 16:23:00 -04:00
parent e1c64477bd
commit cc9935fcac
Signed by untrusted user: ben
GPG Key ID: 4E0AF802FFF7960C
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
function vim
if test -x (which nvim)
nvim $argv
else
vim $argv
end
end