prefer nvim to vim in ssh connections

Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
Seaswimmer 2024-09-26 15:11:50 -04:00
parent 441bcc2b24
commit 7594f92351
Signed by: cswimr
GPG key ID: A9C162E867C851FA

2
.zshrc
View file

@ -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