News for hackers. Stuff that matters.
Re:Nvui: A NeoVim GUI written in C++ and Qt by lambdaba on Monday August 30, 2021 @02:55PM (#28359473)
Hi and thanks! I'm a NixOS user and sloppily created a package but when I run I get "qt.qpa.wayland: EGL not available", probably an issue with my build.

Anyway, the default animation durations are IMO too long, at least the cursor animation, I couldn't make the window animations work, wonder if it's related to that error message.

[edit] nevermind, I see there's a released build so I'll just use that and go the patchelf route

Re:Nvui: A NeoVim GUI written in C++ and Qt by rohit-px2 on Monday August 30, 2021 @03:05PM (#28359598)
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).