Enable comment hotkeys

This commit is contained in:
David Francis 2024-02-15 15:11:33 +00:00
parent 3684997f8f
commit a9e10f2855
1 changed files with 12 additions and 0 deletions

View File

@ -250,6 +250,18 @@ vim.api.nvim_create_autocmd('TextYankPost', {
pattern = '*',
})
require('Comment').setup({
ignore = '^$',
toggler = {
line = '<leader>cc',
block = '<leader>bc',
},
opleader = {
line = '<leader>c',
block = '<leader>b',
},
})
-- [[ Configure Telescope ]]
-- See `:help telescope` and `:help telescope.setup()`
require('telescope').setup {