summaryrefslogtreecommitdiff
path: root/lua/plugins/reticle.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-10-21 05:58:19 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-10-21 06:01:42 -0600
commit67d76fd18c0af3f00d9c55f82597401116a456fa (patch)
treee2ed98e7d4ef888047829fe96afd51fd1e29861e /lua/plugins/reticle.lua
parentbdbe1ed5ba694822ce47f3c915a70d6c3ffb4066 (diff)
feat: add reticle(crosshair)HEADmain
Diffstat (limited to 'lua/plugins/reticle.lua')
-rw-r--r--lua/plugins/reticle.lua12
1 files changed, 12 insertions, 0 deletions
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', '<leader>tcl', reticle.toggle_cursorline, { desc = '[t]oggle [c]ursor [l]ine' })
+ vim.keymap.set('n', '<leader>tcc', reticle.toggle_cursorcolumn, { desc = '[t]oggle [c]ursor [c]olumn' })
+ vim.keymap.set('n', '<leader>tcx', reticle.toggle_cursorcross, { desc = '[t]oggle [c]ursor [x]cross' })
+ end,
+}