From 747976f2ae24eb7c06fd0de1c7f99be4e75d5058 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 21 Aug 2024 13:27:17 +0100 Subject: [PATCH] nvim: toggle Trouble folds with Seriously... Why does this not inherit the global mapping for folds? --- nvim/lua/plugins/editor.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index b4816a0..0407b47 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -117,6 +117,9 @@ return { { "folke/trouble.nvim", cmd = { "Trouble" }, opts = { + keys = { + [""] = "fold_toggle", + }, modes = { lsp = { win = { position = "right" }, -- 2.48.1