added trouble
This commit is contained in:
parent
a1f0559227
commit
330c26bddb
23
lua/nat/lazy/trouble.lua
Normal file
23
lua/nat/lazy/trouble.lua
Normal file
@ -0,0 +1,23 @@
|
||||
return {
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
config = function()
|
||||
require("trouble").setup({
|
||||
icons = false,
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>tt", function()
|
||||
require("trouble").toggle()
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "[t", function()
|
||||
require("trouble").next({skip_groups = true, jump = true});
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "]t", function()
|
||||
require("trouble").previous({skip_groups = true, jump = true});
|
||||
end)
|
||||
|
||||
end
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user