Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use external editor (e.g. neovim) for writing code, hot-reload it in the marimo editor #2073

Closed
konosubakonoakua opened this issue Aug 22, 2024 · 4 comments

Comments

@konosubakonoakua
Copy link

Description

how can I use external editor to write code with hot-reloading in marimo editor?

Suggested solution

reload local file when it is changed

Alternative

No response

Additional context

No response

@akshayka
Copy link
Contributor

Do you want to write notebook code in neovim or library code?

If it's the latter we have that built-in: https://docs.marimo.io/guides/reactivity.html#on-module-change-autoreloading

If it's the former, we have an experimental VSCode plugin but don't have a solution for other editors yet. Perhaps we could get there by starting with marimo's native markdown format (cc @dmadisetti), which is easier to edit in a text editor than our Python format.

@konosubakonoakua
Copy link
Author

Ty

@mitchellwestQB
Copy link

Hi @akshayka - wanted to check if this is in the current pipeline? In addition to all the clear improvements to jupyternbs, this tool is exactly what I've been looking for to dev with nb's in neovim, but the only blocker from using marimo on a day to day is the need for changes to @app.cell to hot-reload in the running notebook

@dmadisetti
Copy link
Collaborator

As is, the "kiosk" mode exists. A vim plugin could replicate the VScode plugin, and manually trigger the editor endpoints

The proposal for "Multiplayer" has a couple other qol improvements regarding implementation: marimo-team/meps#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants