HNHacker News
TopNewBestAskShowJobs

rohit-px2

12 karma · joined August 30, 2021

submissionscomments
rohit-px2··on Nvui: A NeoVim GUI written in C++ and Qt
Hi! I'm the developer of nvui. You were definitely right about the readme bloat. I've removed the GIFs in favor of videos uploaded to Github and links to them, although the GIFs may be stuck in the history.
rohit-px2··on Nvui: A NeoVim GUI written in C++ and Qt
Hi! If the animations are too long, you can shorten them. So for the cursor animation, the default is 0.3 seconds. You can shorten it to, let's say, 0.1 seconds by using the command

:NvuiCursorAnimationDuration 0.1

That'll reduce the duration to 0.1 seconds. The animation also runs at a specified frametime in ms (divide 1000 by FPS), default frametime is 10ms (so 100FPS). You can modify this using

:NvuiCursorFrametime 5, for example, for a 5ms frametime (200FPS).

rohit-px2··on Nvui: A NeoVim GUI written in C++ and Qt
Hey, I'm the developer for nvui. I definitely messed up a bit putting the GIFs in the repo, I noticed it when the actions' build size increased by about 40MB (the display assets get removed now in the build). I don't know if there's a way to remove them now without removing a lot of the git history.

Also about the dithering, I'm aware that the GIFs look horrible, but that was not how they looked when I recorded them, I don't know if it was Github's compression but they look a lot worse when uploaded.

rohit-px2··on Nvui: A NeoVim GUI written in C++ and Qt
No reason, I just used to use Sublime Text and liked how the cursor appeared bigger than the text.
rohit-px2··on Nvui: A NeoVim GUI written in C++ and Qt
Hi! I'm the developer for nvui (didn't realize this post was made, never used this forum before). The animation durations and a few other things about them are customizable if you look into :h nvui-multigrid and :h nvui-cursor. As for the GIFs, I didn't expect them to come out badly (don't know if it was compression, but they didn't look that bad when I uploaded them. I'll look into making a "media" branch.