From 56d4b2d2b6257896af8ed3a94e0adeb39a5fc388 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 9 Dec 2024 11:52:32 +0100 Subject: [PATCH] feat: add plugin smear cursor --- lua/plugins/smear-cursor.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lua/plugins/smear-cursor.lua diff --git a/lua/plugins/smear-cursor.lua b/lua/plugins/smear-cursor.lua new file mode 100644 index 0000000..7c0ae5a --- /dev/null +++ b/lua/plugins/smear-cursor.lua @@ -0,0 +1,23 @@ +-- +-- Neovim plugin to animate the cursor with a smear effect in all terminals. +-- +-- Source: https://github.com/sphamba/smear-cursor.nvim +-- .............................................. +-- +-- Author: Sven Vogel +-- Created: 09.12.2024 +-- Edited: 09.12.2024 +-- +-- ============================================== + +return { + { + "sphamba/smear-cursor.nvim", + opts = { + stiffness = 0.7, -- 0.6 [0, 1] + trailing_stiffness = 0.4, -- 0.3 [0, 1] + distance_stop_animating = 0.4, -- 0.1 > 0 + hide_target_hack = true, -- true boolean + } + } +}