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

Can I customize / turn specific characters into images? #233

Open
ziontee113 opened this issue Jul 22, 2022 · 4 comments
Open

Can I customize / turn specific characters into images? #233

ziontee113 opened this issue Jul 22, 2022 · 4 comments

Comments

@ziontee113
Copy link

Hi @yatli , I haven't used fvim yet, but I wonder if it's possible to customize / turn specific characters into images in fvim.

I see your cmp example on the README page and I wonder the possibilities. I dreamed about having images replaces characters for a while, so I can use them as conceals :)

Is this possible in fvim? Thank you very much!

@yatli
Copy link
Owner

yatli commented Aug 15, 2022

The README example is a special case for popup menu, but in general I wouldn't recommend replacing a meaningful unicode codepoint (well that one is subjective), but then there's NERD font...

What kind of images do you want? Bitmaps won't work across different font/size; Vector images could be hacked into a font (custom emoji) though.

@ziontee113
Copy link
Author

Yeah I was looking for bitmaps, but it seems quite impossible then 😄

@yatli
Copy link
Owner

yatli commented Aug 16, 2022

There's another option: https://github.com/yatli/gui-widgets.nvim
Guess you can build conceal-like markers this way.

@ziontee113
Copy link
Author

Oh boy I have no idea how to use what you just sent me 😄 but I appreciate it :)
It's still too soon for me to mess with the GUI side of things haha.

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

2 participants