From 7ba87a776f60e516d6a9580cee534b3bf42c7a96 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Fri, 7 Dec 2018 12:15:50 +0100 Subject: [PATCH] set vim as default editor --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 721f680..74e1cd1 100644 --- a/.zshrc +++ b/.zshrc @@ -85,6 +85,9 @@ source $ZSH/oh-my-zsh.sh # ssh # export SSH_KEY_PATH="~/.ssh/rsa_id" +# Set vim as default editor +export EDITOR='vim' + # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. @@ -99,6 +102,4 @@ alias la='ls -la' if [ -f ~/.dotfiles/.localcommands ] then source ~/.dotfiles/.localcommands -else - echo "\n\n" fi