From: martin f. krafft Date: Thu, 16 Mar 2017 19:52:16 +0000 (+1300) Subject: let vim set zsh editor/visual variables X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/a3bfc8208a7d8fb6c0aa34d6398f29f7334ad421?ds=sidebyside let vim set zsh editor/visual variables --- 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