From cb63fb190788c5601694369dd8183866dafd5cdf Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Wed, 24 Nov 2021 15:51:08 -0800 Subject: [PATCH] [zshrc] Back to TextMate, VS Code is too slow --- zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 2593a89..6f1a079 100755 --- a/zshrc +++ b/zshrc @@ -45,7 +45,10 @@ else fi fi -if command_exists vim; then +if command_exists mate; then + export EDITOR="mate -w" + export VISUAL="mate -w" +elif command_exists vim; then export EDITOR="vim" export VISUAL="vim" else @@ -197,7 +200,7 @@ prompt sjs # -------------------------------- alias bgd='bg; disown %1' alias cp='nocorrect cp' # don't correct spelling for 'cp' -alias e='code -n' +alias e='mate' alias ez="$EDITOR ~/.zshrc && source ~/.zshrc" alias mkdir='nocorrect mkdir' # don't correct spelling for 'mkdir'