From 7594f92351410fe565f55a71a4938e5f1df91ad4 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 26 Sep 2024 15:11:50 -0400 Subject: [PATCH] prefer nvim to vim in ssh connections Signed-off-by: cswimr --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 110bc06..7fd611e 100644 --- a/.zshrc +++ b/.zshrc @@ -89,7 +89,7 @@ export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions if [[ -n $SSH_CONNECTION ]]; then - export EDITOR='vim' + export EDITOR='nvim' else export EDITOR='nvim' fi