Thanks both! I'll take a look at this once I finish a residency here in Tallinn next week. Very useful information. Haven't really done much in c, and I prefer to keep my vim python-free, but both of these angles should give me plenty of inspiration!
Best, Kenneth -- Roosna & Flak - Contemporary Dance & Music Web: roosnaflak.com Code: {github,gitlab}.com/kflak Mastodon: @k...@sonomu.club On 7 Jul 2021 08:08, Iain Duncan wrote: >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 <b...@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@ccrma.stanford.edu > https://cm-mail.stanford.edu/mailman/listinfo/cmdist > _______________________________________________ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist