feat: add blinky cursor utility module

This commit is contained in:
2024-08-28 06:35:04 -04:00
parent 6b43b810c3
commit 40ad835130
2 changed files with 23 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
local M = {}
-- Function to set up blinky cursor
function M.enable()
vim.opt.guicursor = {
"n-v-c:block-Cursor/lCursor", -- Block cursor in normal, visual, and command modes
"i:ver25-blinkwait700-blinkoff400-blinkon250-Cursor/lCursor", -- Blinking vertical line in insert mode
"r-cr-o:hor20-Cursor/lCursor", -- Horizontal line cursor in replace, command-line replace, and operator-pending modes
"a:blinkwait700-blinkoff400-blinkon250", -- Global blinking settings for all modes
}
end
return M