Browse files

Added an optional callout at the end of the main function. I put it i…

…n so that I can put the window focus onto GVim / MacVim after the function completes
  • Loading branch information...
1 parent c022812 commit 4dc56be53e9969cb79be11274dfebbf7ca4301e3 @derekwyatt committed Mar 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 zsh_custom/plugins/vim-interaction/vim-interaction.plugin.zsh
View
3 zsh_custom/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

0 comments on commit 4dc56be

Please sign in to comment.