From 151e04d24102701fbd034853a7a91292d0902a2a Mon Sep 17 00:00:00 2001 From: Adam Jeniski Date: Mon, 6 Feb 2023 09:22:31 -0500 Subject: [PATCH] add nvim as default editor --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 2a8c753..eaaa030 100644 --- a/.zshrc +++ b/.zshrc @@ -10,6 +10,9 @@ plugins=(git) source $ZSH/oh-my-zsh.sh +export EDITOR=nvim +export VISUAL="$EDITOR" + if [[ -n $SSH_CONNECTION ]]; then export EDITOR='vim' else