[ZeroBrane Studio] zbs-vim plugin

  • From: "Paul Reilly" <pajthbr@xxxxxxxxx>
  • To: "zerobrane@xxxxxxxxxxxxx" <zerobrane@xxxxxxxxxxxxx>
  • Date: Thu, 12 Oct 2017 14:28:47 +0100

&#x200b;
Hi
I've mostly completed my Vim editing plugin for ZBS in case anybody wants to 
have a play with it...
&#x200b;
https://github.com/paul-reilly/zbs-vim/blob/master/zbs-vim.lua ;
[https://github.com/paul-reilly/zbs-vim/blob/master/zbs-vim.lua]&#x200b;
&#x200b;
It requires a current clone of ZeroBrane Studio, or the upcoming release, to 
avoid a runtime error on closing a document via the zbs-vim command line, but 
apart from that it should work fine. The command to open a real instance of Vim 
is in a Windows format, if anybody else finds this interesting/useful and wants 
to add a Linux/Mac command line they are more than welcome to.
@PaulK: you can see the SetHotKey in use at line 310, but as we discussed 
previously it would be great to retrieve and restore the original settings so 
this can be toggled.
All the best
Paul

Other related posts: