Commit Graph

8 Commits

Author SHA1 Message Date
Jóhann Friðriksson
aa6e932b06
fix(vim-interaction): look up the newest GVim instance (#9095)
Instead of relying on a hardcoded instance-name existing for the default-value, let's
look up the latest instance. This also resolves my problem where MacVim
had a servername of "VIM" instead of "GVIM".

Co-authored-by: Johann Fridriksson <jofridri@silabs.com>
2021-09-09 19:31:01 +02:00
Pierre Barbier de Reuille
27b9aed87f Added "-n name" option to vim-interaction plugin (#4522) 2018-07-01 20:48:53 +02:00
Marc Cornellà
7f64092361 [vim-interaction plugin] Escaping special chars in file names and simplifying code. 2015-09-01 19:07:49 +02:00
Marc Cornellà
4310a15de5 Change all pwd calls for $PWD variable
This avoids spawning additional processes as $PWD **always** contains
the current working directory.
2014-11-06 18:33:56 +01:00
Derek Wyatt
94dd651536 Added an <esc> to the begining of everything. I ran something when I was in insert mode once and all it did was shove !args... into the buffer. <esc> first. 2012-04-01 15:41:39 -04:00
Derek Wyatt
04a7536641 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 2012-03-30 06:33:06 -04:00
Derek Wyatt
92227f171a Fixed: If you callvim on a non-existant file with a relative path, the CWD of the running gvim process is used, and that's not right. We use the PWD explicitly instead, in this case 2012-03-20 09:55:25 -04:00
Derek Wyatt
e652756fdb A plugin that makes it easier to interact with the (single) running instance of gvim 2012-03-20 08:16:44 -04:00