From 6c5ae5fae0cc94da049b693ff4985138ddabc150 Mon Sep 17 00:00:00 2001 From: Scott Carroll Date: Sat, 23 Aug 2025 15:57:48 +0100 Subject: [PATCH] Add smear_cursor --- .../.config/nvim/lua/plugins/smear_cursor.lua | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nvim/.config/nvim/lua/plugins/smear_cursor.lua diff --git a/nvim/.config/nvim/lua/plugins/smear_cursor.lua b/nvim/.config/nvim/lua/plugins/smear_cursor.lua new file mode 100644 index 0000000..8e59971 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/smear_cursor.lua @@ -0,0 +1,23 @@ +return { + "sphamba/smear-cursor.nvim", + + opts = { + -- Smear cursor when switching buffers or windows. + smear_between_buffers = true, + + -- Smear cursor when moving within line or to neighbor lines. + -- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control + smear_between_neighbor_lines = false, + + -- Draw the smear in buffer space instead of screen space when scrolling + scroll_buffer_space = 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, + + -- Smear cursor in insert mode. + -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. + smear_insert_mode = true, + }, +}