Automatically call nvim with vim command if installed

This commit is contained in:
Marty Oehme 2019-02-26 10:31:40 +01:00
parent f4b0d38148
commit 25d4f1df54
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
# Check for existence of nvim command. If found, substitute vim with it.
type nvim >/dev/null 2>&1 && alias vim=nvim