diff --git a/.bashrc.d/editor b/.bashrc.d/editor index 615c159..b31711c 100644 --- a/.bashrc.d/editor +++ b/.bashrc.d/editor @@ -6,3 +6,7 @@ if command -v nvim >/dev/null 2>&1; then alias vi=nvim fi +export EDITOR="nvim" +export SUDO_EDITOR="nvim" +export DIFFPROG="nvim -d" +