diff --git a/configs/neovim/snacks-animated-scrolling-off.lua b/configs/neovim/snacks-animated-scrolling-off.lua new file mode 100644 index 0000000..cbb0a58 --- /dev/null +++ b/configs/neovim/snacks-animated-scrolling-off.lua @@ -0,0 +1,8 @@ +return { + "folke/snacks.nvim", + opts = { + scroll = { + enabled = false, -- Disable scrolling animations + }, + }, +} diff --git a/install/terminal/app-neovim.sh b/install/terminal/app-neovim.sh index 569e8f7..4ad0eba 100644 --- a/install/terminal/app-neovim.sh +++ b/install/terminal/app-neovim.sh @@ -23,6 +23,9 @@ if [ ! -d "$HOME/.config/nvim" ]; then # Default to Tokyo Night theme cp ~/.local/share/omakub/themes/tokyo-night/neovim.lua ~/.config/nvim/lua/plugins/theme.lua + + # Turn off animationd scrolling + cp ~/.local/share/omakub/configs/neovim/snacks-animated-scrolling-off.lua ~/.config/nvim/lua/plugins/ fi # Replace desktop launcher with one running inside Alacritty