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

Stop firenvim from "deleting" media (e.g., images) embedded into text fields #1669

Open
cohml opened this issue Jan 10, 2025 · 0 comments
Open

Comments

@cohml
Copy link

cohml commented Jan 10, 2025

  • OS Version: macOS Sonoma 12.7.1
  • Browser Version: Brave 1.73.101
  • Browser Addon Version: 0.2.16
  • Neovim Plugin Version: commit f8a5fa6

What I tried to do + what happened

Using G-Mail as an example (though I've also seen it happen in GitHub), say I open the email editor, dropping me into firenvim. I add some text. Then I take a screenshot, :wq inside firenvim, and paste the screenshot into the editor. Finally, I re-enter firenvim, and poof, the embedded screenshot is lost. This is incredibly annoying and, without careful foresight, can lead to a lot of lost work.

I have absolutely no idea whether this has a solution, but one thing that comes to mind is the magma-nvim plugin* for interacting with Jupyter notebooks in Neovim. Somehow, magically, this plugin allows data visualizations to be displayed inside Neovim, suggesting it should be possible to "show" images too.

* Disclaimer: It's unclear to me whether the images actually persist. But anyway, better than no starting point at all!

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

1 participant