Skip to content

Commit

Permalink
chore: slightly increase animation speed for scrolling and window siz…
Browse files Browse the repository at this point in the history
…e change
  • Loading branch information
ttytm committed Oct 21, 2024
1 parent d5194da commit 8e995a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lua/nxvim/plugins/neoscroll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ nx.map({
{ "<C-u>", function() neoscroll.ctrl_u({ duration = 100 }) end },
{ "<C-e>", function() neoscroll.scroll(0.1, { duration = 100 }) end },
{ "<C-y>", function() neoscroll.scroll(-0.1, { duration = 100 }) end },
{ "<C-b>", function() neoscroll.ctrl_b({ duration = 180, easing = "circular" }) end },
{ "<C-f>", function() neoscroll.ctrl_f({ duration = 180, easing = "circular" }) end },
{ "<C-b>", function() neoscroll.ctrl_b({ duration = 150, easing = "circular" }) end },
{ "<C-f>", function() neoscroll.ctrl_f({ duration = 150, easing = "circular" }) end },
{
"z<CR>",
function()
Expand Down
2 changes: 1 addition & 1 deletion lua/nxvim/plugins/windows.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local config = {
},
animation = {
enable = true,
duration = 120,
duration = 75,
fps = 60,
easing = "in_out_sine",
},
Expand Down

0 comments on commit 8e995a9

Please sign in to comment.