dotfiles/.config/shell/rc.d/nvim-to-vim.sh
2019-03-15 14:54:09 +01:00

4 lines
128 B
Bash

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