dotfiles/.config/shell/rc.d/nvim-to-vim.sh

5 lines
128 B
Bash
Raw Normal View History

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