start gvim if it is not running already

This commit is contained in:
Kevin Bader 2015-12-09 15:50:41 +01:00
parent ee343814b7
commit 6629747f77

View File

@ -18,6 +18,11 @@ EOH
return 0 return 0
fi fi
if [[ -z "$(gvim --serverlist)" ]]; then
gvim "$@"
return 0
fi
local cmd="" local cmd=""
local before="<esc>" local before="<esc>"
local after="" local after=""