nadrad / h-m-m

Hackers Mind Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request : image support

klownie opened this issue · comments

Hello.

I love your project and i use it all the time when doing art.
I was just wondering if it would be possible to implement a terminal an image support. Like Kitty image protocol.

I'm glad you like it :)

Viewing images inside the mind map sounds like a really complicated task to me, and I don't know whether it's justifiable to do so in a terminal application like h-m-m. Storing the images in plain text files can be challenging as well, if we want the file to stay readable without h-m-m.

Alternatively, it's easy to add a feature to have nodes containing links to local files or those on the Web, and have a key binding in h-m-m to open them in their default applications. Would that be helpful to you?

yes it would be very helpful. thank you

Done :)

When you press Ctrl+o, it attempts to open the active node with xdg-open. It should work well for files (with absolute or relative paths), as well as URLs.

thanks i can probably figures out a way to open the images in other terminal using kitty +kitten icat