浏览代码

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

Derek Wyatt 12 年之前
父节点
当前提交
04a7536641
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      plugins/vim-interaction/vim-interaction.plugin.zsh

+ 3 - 0
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