From 67d76fd18c0af3f00d9c55f82597401116a456fa Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 21 Oct 2024 05:58:19 -0600 Subject: feat: add reticle(crosshair) --- lua/plugins/reticle.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/plugins/reticle.lua diff --git a/lua/plugins/reticle.lua b/lua/plugins/reticle.lua new file mode 100644 index 0000000..8f5b502 --- /dev/null +++ b/lua/plugins/reticle.lua @@ -0,0 +1,12 @@ +return { + 'tummetott/reticle.nvim', + event = 'VeryLazy', + config = function() + local reticle = require('reticle') + reticle.setup() + + vim.keymap.set('n', 'tcl', reticle.toggle_cursorline, { desc = '[t]oggle [c]ursor [l]ine' }) + vim.keymap.set('n', 'tcc', reticle.toggle_cursorcolumn, { desc = '[t]oggle [c]ursor [c]olumn' }) + vim.keymap.set('n', 'tcx', reticle.toggle_cursorcross, { desc = '[t]oggle [c]ursor [x]cross' }) + end, +} -- cgit v1.2.3-70-g09d2