feat(nvim): add smooth cursor

This commit is contained in:
Price Hiller 2022-09-16 03:54:22 -05:00
parent 57da6f9f12
commit 0cc445b628

View File

@ -794,11 +794,39 @@ return packer.startup({
"segeljakt/vim-silicon",
config = function()
vim.g.silicon = {
theme = "Coldark-Dark"
theme = "Coldark-Dark",
}
end,
})
-- Nice sidebar cursor goodies
use({
"gen740/SmoothCursor.nvim",
requires = {
"rebelot/kanagawa",
},
config = function()
local kcolors = require("kanagawa.colors").setup({})
vim.api.nvim_set_hl(0, "SmoothCursorCursor", { fg = kcolors.roninYellow })
vim.api.nvim_set_hl(0, "SmoothCursorTrail", { fg = kcolors.autumnYellow })
require("smoothcursor").setup({
fancy = {
enable = true,
head = { cursor = "", texthl = "SmoothCursorCursor", linehl = nil },
body = {
{ cursor = "", texthl = "SmoothCursorTrail" },
{ cursor = "", texthl = "SmoothCursorTrail" },
{ cursor = "", texthl = "SmoothCursorTrail" },
{ cursor = "", texthl = "SmoothCursorTrail" },
{ cursor = "", texthl = "SmoothCursorTrail" },
{ cursor = ".", texthl = "SmoothCursorTrail" },
{ cursor = ".", texthl = "SmoothCursorTrail" },
},
},
})
end,
})
-- Leave at end!!!
-- Install and deploy packer plugins
-- automatically