From c7b3d2a8c9d45a2b6989a4cfbca898aa0db6e990 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Tue, 12 Nov 2024 20:09:34 -0500 Subject: [PATCH] Added editor to environment --- .bashrc.d/editor | 4 ++++ 1 file changed, 4 insertions(+) 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" +