From 65754a18066089ce501a7d05bd59e2e39936c755 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 28 Sep 2021 21:07:26 +0200 Subject: zsh: Add editor exports .zsh.after/export.zsh: Add editor exports for vim. --- .zsh.after/export.zsh | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v1.2.3-70-g09d2