aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/export.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index fff2c88..59eb186 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -39,6 +39,10 @@ export REPORTTIME=5
# systemd
export SYSTEMD_EDITOR=vim
+# editor
+export EDITOR=vim
+export VISUAL=vim
+
# if vimpager is installed, use it instead of less
if [[ -x /usr/bin/vimpager ]];then
export PAGER="vimpager"