[CM] snd/vim integration

Iain Duncan iainduncanlists at gmail.com
Wed Jul 7 08:08:19 PDT 2021


Not sure if it's useful, but I can tell you how I wound up making my Vim to
Scheme-for-Max workflow:

- vim key mappings exist to visually select the current matching
parenthetical expression and send it to a Python script as stdin
- Python script sends to Max over OSC using liblo

The details are here:
https://github.com/iainctduncan/scheme-for-max-cookbook/blob/master/editor-integration/README.md


On Wed, Jul 7, 2021 at 7:22 AM <bil at ccrma.stanford.edu> wrote:

> I don't know of any prior work on that.  snd-kbd.c has
> the keyboard mappings.  There's an array "built-in-keys"
> and a function "keyboard_command".  The latter is
> a set of case statements -- it should be reasonably
> obvious how it works.  I don't know anything about vim.
> If you get something working, please let me know --
> I'd be happy to merge it into my version.
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210707/b2fdb204/attachment.html>


More information about the Cmdist mailing list