Add :CheckboxToggle and mapping

This commit is contained in:
2024-07-11 20:09:43 +01:00
parent 8a5f4a3063
commit 8b4258408e
2 changed files with 18 additions and 0 deletions

View File

@@ -47,3 +47,6 @@ vim.keymap.set('t', '<C-w><C-a>', '<C-\\><C-n>:Asm<CR>', opts)
-- Mappings to grep for then fuzzy find the word under the cursor or visual selection
vim.keymap.set('n', '<leader>rg', ':Rg<CR>', opts)
vim.keymap.set('v', '<leader>rg', ":'<,'>Rg<CR>", opts)
-- Mapping to toggle checkboxes
vim.keymap.set('n', '<leader><CR>', ':CheckboxToggle<CR>', opts)