diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/plugins/reticle.lua | 12 |
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, +} |