From c92e98aa47612fc4e735ed7ee1a81a618d0868a6 Mon Sep 17 00:00:00 2001 From: Pierre Barbier de Reuille Date: Mon, 19 Oct 2015 16:46:30 +0200 Subject: [PATCH] Added "-n name" option to vim-interaction plugin --- plugins/vim-interaction/vim-interaction.plugin.zsh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/vim-interaction/vim-interaction.plugin.zsh b/plugins/vim-interaction/vim-interaction.plugin.zsh index b774be34..010f998d 100644 --- a/plugins/vim-interaction/vim-interaction.plugin.zsh +++ b/plugins/vim-interaction/vim-interaction.plugin.zsh @@ -8,10 +8,11 @@ function callvim { if [[ $# == 0 ]]; then cat <" fi cmd="$before$files$after" - gvim --remote-send "$cmd" + gvim --servername "$name" --remote-send "$cmd" if typeset -f postCallVim > /dev/null; then postCallVim fi