[ZeroBrane Studio] Re: zbs-vim plugin

  • From: James Folk <jamesfolk1@xxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Thu, 12 Oct 2017 09:30:22 -0400

Hell yeah! Thanks for this. I’ll be testing.

On Oct 12, 2017, at 9:28 AM, Paul Reilly <pajthbr@xxxxxxxxx> wrote:


Hi

I've mostly completed my Vim editing plugin for ZBS in case anybody wants to 
have a play with it...


https://github.com/paul-reilly/zbs-vim/blob/master/zbs-vim.lua ;
<https://github.com/paul-reilly/zbs-vim/blob/master/zbs-vim.lua>​


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: