From a3bfc8208a7d8fb6c0aa34d6398f29f7334ad421 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 17 Mar 2017 08:52:16 +1300 Subject: [PATCH] let vim set zsh editor/visual variables --- .zsh/zshenv/parts.d/50-vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .zsh/zshenv/parts.d/50-vim diff --git a/.zsh/zshenv/parts.d/50-vim b/.zsh/zshenv/parts.d/50-vim new file mode 100644 index 0000000..2818885 --- /dev/null +++ b/.zsh/zshenv/parts.d/50-vim @@ -0,0 +1,13 @@ +# +# set the editor variables to Vim +# +# Copyright © 1994–2017 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: http://git.madduck.net/v/etc/zsh.git +# + +export EDITOR==vim +export VISUAL=$EDITOR + +# vim:ft=zsh -- 2.39.2