From 8e995a912a330f2e677783c6c02ac06efa4617c6 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:12:57 +0200 Subject: [PATCH] chore: slightly increase animation speed for scrolling and window size change --- lua/nxvim/plugins/neoscroll.lua | 4 ++-- lua/nxvim/plugins/windows.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/nxvim/plugins/neoscroll.lua b/lua/nxvim/plugins/neoscroll.lua index 14f3349..d01c6bb 100644 --- a/lua/nxvim/plugins/neoscroll.lua +++ b/lua/nxvim/plugins/neoscroll.lua @@ -21,8 +21,8 @@ nx.map({ { "", function() neoscroll.ctrl_u({ duration = 100 }) end }, { "", function() neoscroll.scroll(0.1, { duration = 100 }) end }, { "", function() neoscroll.scroll(-0.1, { duration = 100 }) end }, - { "", function() neoscroll.ctrl_b({ duration = 180, easing = "circular" }) end }, - { "", function() neoscroll.ctrl_f({ duration = 180, easing = "circular" }) end }, + { "", function() neoscroll.ctrl_b({ duration = 150, easing = "circular" }) end }, + { "", function() neoscroll.ctrl_f({ duration = 150, easing = "circular" }) end }, { "z", function() diff --git a/lua/nxvim/plugins/windows.lua b/lua/nxvim/plugins/windows.lua index 3efd9d1..1761e51 100644 --- a/lua/nxvim/plugins/windows.lua +++ b/lua/nxvim/plugins/windows.lua @@ -21,7 +21,7 @@ local config = { }, animation = { enable = true, - duration = 120, + duration = 75, fps = 60, easing = "in_out_sine", },