add vim -> nvim wrapper function

weechat-localhost
Ben Harris 2018-08-08 16:23:00 -04:00
parent e1c64477bd
commit cc9935fcac
No known key found for this signature in database
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