realh / gnvim

GUI for neovim
GNU General Public License v3.0
5 stars 0 forks source link

gnvim as Claws' external editor #2

Open gour opened 7 years ago

gour commented 7 years ago

Hello,

I use Gvim as Claws-mail's external editor and sometime ago Claws added a new feature that it can ember gvim withing its compose-message window. The technology which is used is described here and I did ask about such support for neovim here, so now wonder, before trying to build it myself, whether gnvim could serve the same purpose?

realh commented 7 years ago

This would be possible, and I might consider it in future, but I've got lots of other work to do on gnvim still. As someone said in your neovim issue, python-gui might be a better starting point at the moment, but if you're not a programmer I suppose you're a bit stuck :-(. One of the difficulties of doing this with gnvim is that it's designed to support multiple GUI windows in one instance, using GtkApplication. This has advantages for a general-purpose editor, but makes things more complicated when it's supposed to edit one file then quit (like gvim's -f option). I would probably be better off writing a separate main() specifically for embedding.

gour commented 7 years ago

@realh thank you for your reply. I'm sure it would be nice to have option to use neovim within Claws-mail since it provides very nice functionality.

I would probably be better off writing a separate main() specifically for embedding.

👍