diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index ee57b4cc5..99f8414eb 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -68,7 +68,10 @@ ZSH_THEME="astro" # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=( + git + vi-mode +) source $ZSH/oh-my-zsh.sh @@ -80,11 +83,11 @@ source $ZSH/oh-my-zsh.sh # 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='vim' +else + export EDITOR='mvim' +fi # Compilation flags # export ARCHFLAGS="-arch x86_64"