summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-05-28 11:04:05 +0800
committerZhineng Li <im@zhineng.li>2026-05-28 11:04:05 +0800
commit7a0127ad58a25260a98fbc8e65f75a65cf6db50a (patch)
tree2b591fde6905feafd6245ff5ef7bffce5f6f0259
parent59522baede6424f05cf25c76f54a79fd89ee142b (diff)
downloaddotfiles-7a0127ad58a25260a98fbc8e65f75a65cf6db50a.tar.gz
dotfiles-7a0127ad58a25260a98fbc8e65f75a65cf6db50a.zip
set default editor
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 8649fb0..1656a47 100644
--- a/.zshrc
+++ b/.zshrc
@@ -4,6 +4,9 @@ setopt autocd
PROMPT='%(?.%F{green}.%F{red})%#%f '
RPROMPT='%F{white}%~%f'
+# Set default editor
+export EDITOR='nvim'
+
alias l='ls -lha'
alias vim='nvim'
alias v='nvim'