feat(nvim): add smooth cursor
This commit is contained in:
parent
57da6f9f12
commit
0cc445b628
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user