From bf4bb95721131b49d5a3044cb059ff1542758e9a Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 17 Feb 2024 17:33:05 -0600 Subject: [PATCH] refactor(nvim): use dedicated bind to toggle Trouble --- dots/.config/nvim/lua/plugins/configs/trouble.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/trouble.lua b/dots/.config/nvim/lua/plugins/configs/trouble.lua index 9e37ebf8..d856fed3 100644 --- a/dots/.config/nvim/lua/plugins/configs/trouble.lua +++ b/dots/.config/nvim/lua/plugins/configs/trouble.lua @@ -26,17 +26,18 @@ return { "folke/trouble.nvim", keys = { { "x", desc = "> Trouble" }, - { "lr", "TroubleToggle lsp_references", desc = "LSP: References" }, + { "lr", "Trouble lsp_references", desc = "LSP: References" }, { "li", - "TroubleToggle lsp_implementations", + "Trouble lsp_implementations", desc = "LSP: Implementation", }, - { "ld", "TroubleToggle lsp_definitions", desc = "LSP: Definition" }, - { "xd", "TroubleToggle document_diagnostics", desc = "Trouble: Document Diagnostics" }, - { "xl", "TroubleToggle loclist", desc = "Trouble: Loclist" }, - { "xq", "TroubleToggle quickfix", desc = "Trouble: Quickfix" }, + { "ld", "Trouble lsp_definitions", desc = "LSP: Definition" }, + { "xd", "Trouble document_diagnostics", desc = "Trouble: Document Diagnostics" }, + { "xl", "Trouble loclist", desc = "Trouble: Loclist" }, + { "xq", "Trouble quickfix", desc = "Trouble: Quickfix" }, { "xt", "TodoTrouble", desc = "Trouble: Todo Items" }, + { "xx", "TroubleToggle", desc = "Trouble: Toggle" }, }, event = { "QuickFixCmdPre" }, dependencies = { "nvim-tree/nvim-web-devicons" },