From: Samir Benmendil Date: Wed, 21 Aug 2024 12:27:17 +0000 (+0100) Subject: nvim: toggle Trouble folds with X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/747976f2ae24eb7c06fd0de1c7f99be4e75d5058 nvim: toggle Trouble folds with Seriously... Why does this not inherit the global mapping for folds? --- 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" },