diff options
author | David Runge <dave@sleepmap.de> | 2021-09-28 21:07:26 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2021-09-28 21:07:26 +0200 |
commit | 65754a18066089ce501a7d05bd59e2e39936c755 (patch) | |
tree | 44c28fe322cb3a295d8eca23a51745ef946a5e18 | |
parent | f661c7c210bd901191c6d6c63011d3df696f3f24 (diff) | |
download | dotfiles-65754a18066089ce501a7d05bd59e2e39936c755.tar.gz dotfiles-65754a18066089ce501a7d05bd59e2e39936c755.tar.bz2 dotfiles-65754a18066089ce501a7d05bd59e2e39936c755.tar.xz dotfiles-65754a18066089ce501a7d05bd59e2e39936c755.zip |
zsh: Add editor exports
.zsh.after/export.zsh:
Add editor exports for vim.
-rw-r--r-- | .zsh.after/export.zsh | 4 |
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" |