diff options
author | Derek Wyatt <derek@derekwyatt.org> | 2012-03-30 06:33:06 -0400 |
---|---|---|
committer | Phil Eichinger <phil@zankapfel.net> | 2014-03-25 16:47:57 +0100 |
commit | 5a81fda42a48587fb27acb8c5d1e64e1d7c90b6c (patch) | |
tree | 35c8c3c76f666e0daeff722fec8019e9065a5446 | |
parent | 83071a10e7bcb398269be37a77dd929cb9182434 (diff) | |
download | zsh-5a81fda42a48587fb27acb8c5d1e64e1d7c90b6c.tar.gz zsh-5a81fda42a48587fb27acb8c5d1e64e1d7c90b6c.tar.bz2 zsh-5a81fda42a48587fb27acb8c5d1e64e1d7c90b6c.zip |
Added an optional callout to the end of the interaction function. I put it in to allow me to put the window focus on MacVim / GVim depending on the different OS I happen to be on
-rw-r--r-- | plugins/vim-interaction/vim-interaction.plugin.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/vim-interaction/vim-interaction.plugin.zsh b/plugins/vim-interaction/vim-interaction.plugin.zsh index 309012b34..af7e60c88 100644 --- a/plugins/vim-interaction/vim-interaction.plugin.zsh +++ b/plugins/vim-interaction/vim-interaction.plugin.zsh @@ -58,6 +58,9 @@ EOH fi cmd="$before$files$after" gvim --remote-send "$cmd" + if typeset -f postCallVim > /dev/null; then + postCallVim + fi } alias v=callvim |