diff --git a/configs/.zshrc b/configs/.zshrc index c71887c..e913e7e 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -72,18 +72,17 @@ source $ZSH/oh-my-zsh.sh # User configuration - export EDITOR=nvim # export MANPATH="/usr/local/man:$MANPATH" # You may need to set your language environment manually # export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi +if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='nvim' +else + export EDITOR='vim' +fi # Compilation flags # export ARCHFLAGS="-arch x86_64"