set vim as default editor

This commit is contained in:
Jidbo 2018-12-07 12:15:50 +01:00
parent e5869f7c84
commit 7ba87a776f

5
.zshrc
View file

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