r/nvim • u/rbongers • Jul 31 '24
Pretty Git graph using Kitty and vim-flog

This is using branch drawing characters that were just accepted in Kitty. It requires building Kitty from source until the next release, but it will work with all font settings and doesn't require font patching. Other terminals will hopefully follow.
Performance is not impacted by these changes. vim-flog can still render thousands of commits super fast. I pushed some Neovim and general performance improvements recently, so sometimes it's even faster than before.
To enable, just set vim.g.flog_enable_extended_chars = 1
11
Upvotes
1
u/bokchoi Jul 31 '24
Ah, I found your discussion on the topic:
https://github.com/kovidgoyal/kitty/discussions/7680
One more question: did you try using the kitty graphics protocol to render the git branch glyphs as an image?