← Back to context

Comment by i_gumby

22 days ago

There's also a neovim plugin for those who want to play around with this locally https://github.com/gruvw/strudel.nvim ; it essentially launches strudel in a browser but synchronizes the strudel and nvim editors.

EDIT: fixed link to not have trailing semicolon.

Is there a way (like a CSS rule or something similar) that when you look at the main strudel window, it only shows the piano rolls, punch cards, sliders, etc - but not the code?

Maybe with just the comments? This would be killer, since I have dual displays, and on one I can just focus on the code, the other one can have all the visual stuff.

I'm using this plugin, but having the code twice distracts me a lot (but I prefer the original neovim instead the integrated vim mode inside strudel).

Thanks in advance!

  • Hey, plugin author here, there is a section in the README for that (not the piano roll, but only the hydra visuals) :)

    Note that there is also a feature to inject your own custom CSS into the page.

    You can also run in headless mode to not launch the browser window. Hope it helps :)

  • I'm not using the plugin, but this hides the code in the browser:

    .cm-line span { outline: none !important; color: transparent; background: transparent !important; }

  • I've only just started playing around with it, so I don't know enough about it unfortunately. You could open an issue against the repo; the plugin owner might be able to answer your question.