From 9d629b9bce560128b63ec5f2362f17ae72d1fcce Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Wed, 19 Aug 2026 11:02:39 -0500 Subject: [PATCH] default to vi if no editor set --- nnote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nnote b/nnote index 3c864ce..a9606eb 100755 --- a/nnote +++ b/nnote @@ -44,7 +44,7 @@ else fi pushd "$NOTESDIR" > /dev/null printf "\033]2;$NOTENAME $NOTETYPE note\a" - $EDITOR "$NOTEPATH" || true # || true so we always clear header and popd + %{EDITOR:-vi} "$NOTEPATH" || true # || true so we always clear header and popd printf "\033]2;\a" popd > /dev/null fi