feat: add smear cursor functionality for improved visual feedback

This commit is contained in:
2024-11-24 03:19:59 -05:00
parent 2d486398d6
commit 2d5a077607
2 changed files with 34 additions and 3 deletions
+22
View File
@@ -158,4 +158,26 @@ return {
'folke/twilight.nvim', 'folke/twilight.nvim',
opts = require('data.types').twilight, opts = require('data.types').twilight,
}, },
{
'sphamba/smear-cursor.nvim',
lazy = false,
enabled = function()
return not require('data.func').is_neovide()
end,
opts = {
-- Cursor color. Defaults to Normal foreground color
cursor_color = '#d3cdc3',
-- Use floating windows to display smears outside buffers.
-- May have performance issues with other plugins.
use_floating_windows = true,
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
-- Smears will blend better on all backgrounds.
legacy_computing_symbols_support = true,
-- Attempt to hide the real cursor when smearing.
hide_target_hack = true,
},
},
} }
+12 -3
View File
@@ -5,9 +5,18 @@
-- ╰─────────────────────────────────────────────────────────╯ -- ╰─────────────────────────────────────────────────────────╯
return { return {
{ -- mini.animate -- { -- mini.animate
import = 'lazyvim.plugins.extras.ui.mini-animate', -- import = 'lazyvim.plugins.extras.ui.mini-animate',
}, -- },
-- {
-- 'echasnovski/mini.animate',
-- version = false,
-- opts = {
-- cursor = {
-- enable = false,
-- },
-- },
-- },
{ {
'echasnovski/mini.move', 'echasnovski/mini.move',
event = 'VeryLazy', event = 'VeryLazy',