aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/smooth-cursor.lua.n
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2024-07-12 11:18:14 -0300
committerElvis Claros Castro <elvis@claros.ar>2024-07-12 11:18:14 -0300
commitea0f4bf8ffade657b1d45152dbc183d4679e75c4 (patch)
treecc1fb023bc308e019ddce33a4b0aed39f56805dc /lua/plugins/smooth-cursor.lua.n
parent1fd0af14d592d612c2aaab7717c04c8806ba3daa (diff)
downloadnvim-conf-ea0f4bf8ffade657b1d45152dbc183d4679e75c4.tar.gz
nvim-conf-ea0f4bf8ffade657b1d45152dbc183d4679e75c4.zip
Feat: PI
Diffstat (limited to 'lua/plugins/smooth-cursor.lua.n')
-rw-r--r--lua/plugins/smooth-cursor.lua.n32
1 files changed, 0 insertions, 32 deletions
diff --git a/lua/plugins/smooth-cursor.lua.n b/lua/plugins/smooth-cursor.lua.n
deleted file mode 100644
index 71fe431..0000000
--- a/lua/plugins/smooth-cursor.lua.n
+++ /dev/null
@@ -1,32 +0,0 @@
-return {
- "gen740/SmoothCursor.nvim",
- config = function()
- require("smoothcursor").setup { cursor = "󰀫" }
-
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#8a9baa" })
-
- local autocmd = vim.api.nvim_create_autocmd
-
- autocmd({ "ModeChanged" }, {
- callback = function()
- local current_mode = vim.fn.mode()
- if current_mode == "n" then
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#8a9baa" })
- vim.fn.sign_define("smoothcursor", { text = "󰀫" })
- elseif current_mode == "v" then
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" })
- vim.fn.sign_define("smoothcursor", { text = "" })
- elseif current_mode == "V" then
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" })
- vim.fn.sign_define("smoothcursor", { text = "" })
- elseif current_mode == "\22" then
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" })
- vim.fn.sign_define("smoothcursor", { text = "" })
- elseif current_mode == "i" then
- vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#668aab" })
- vim.fn.sign_define("smoothcursor", { text = "" })
- end
- end,
- })
- end,
-}