summaryrefslogtreecommitdiff
path: root/lua/plugins/reticle.lua
blob: 8f5b502963d32e51c52f2b4423d28572b505644e (plain)
1
2
3
4
5
6
7
8
9
10
11
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,
}