<div dir="ltr">Not sure if it's useful, but I can tell you how I wound up making my Vim to Scheme-for-Max workflow:<div><br></div><div>- vim key mappings exist to visually select the current matching parenthetical expression and send it to a Python script as stdin</div><div>- Python script sends to Max over OSC using liblo </div><div><br></div><div>The details are here: <a href="https://github.com/iainctduncan/scheme-for-max-cookbook/blob/master/editor-integration/README.md">https://github.com/iainctduncan/scheme-for-max-cookbook/blob/master/editor-integration/README.md</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 7, 2021 at 7:22 AM <<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I don't know of any prior work on that. snd-kbd.c has<br>
the keyboard mappings. There's an array "built-in-keys"<br>
and a function "keyboard_command". The latter is<br>
a set of case statements -- it should be reasonably<br>
obvious how it works. I don't know anything about vim.<br>
If you get something working, please let me know --<br>
I'd be happy to merge it into my version.<br>
<br>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</blockquote></div>