diff --git a/lua/custom/plugins/trouble.lua b/lua/custom/plugins/trouble.lua index 2196ba4f..f1b63c97 100644 --- a/lua/custom/plugins/trouble.lua +++ b/lua/custom/plugins/trouble.lua @@ -4,6 +4,10 @@ return { init = function() local opts = { noremap = true, silent = true } -- Lua + vim.keymap.set('n', '', function() + require('trouble').toggle() + end, opts) + vim.keymap.set('n', 'Xx', function() require('trouble').toggle() end, vim.tbl_extend('force', opts, { desc = '[X] Toggle trouble' }))