From 3144a74452d58423db20992e46a1401c9d5d8347 Mon Sep 17 00:00:00 2001
From: Tony Blyler <tony.blyler@cbinsights.com>
Date: Tue, 20 Jun 2023 17:30:49 -0400
Subject: [PATCH] Add animation durations to make them a bit faster

---
 .../nvim/lua/plugins/mini-nvim.lua            | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/mini-nvim.lua b/chezmoi/private_dot_config/nvim/lua/plugins/mini-nvim.lua
index 0438756..ce5235d 100644
--- a/chezmoi/private_dot_config/nvim/lua/plugins/mini-nvim.lua
+++ b/chezmoi/private_dot_config/nvim/lua/plugins/mini-nvim.lua
@@ -2,7 +2,24 @@ return {
 	{
 		"echasnovski/mini.nvim",
 		config = function()
-			require("mini.animate").setup()
+			local animate = require("mini.animate")
+			animate.setup({
+				cursor = {
+					timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
+				},
+				scroll = {
+					timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
+				},
+				resize = {
+					timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
+				},
+				open = {
+					timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
+				},
+				close = {
+					timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
+				},
+			})
 			require("mini.bufremove").setup()
 			require("mini.comment").setup()
 			require("mini.completion").setup()