yadm-new/.bashrc.d/editor

9 lines
136 B
Text
Raw Permalink Normal View History

2024-10-23 00:19:57 -04:00
if command -v vim >/dev/null 2>&1; then
alias vi=vim
fi
if command -v nvim >/dev/null 2>&1; then
alias vim=nvim
alias vi=nvim
fi