diff --git a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua index 5be4b455..38442b81 100644 --- a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua +++ b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua @@ -8,6 +8,7 @@ return { opts = function() vim.keymap.set("n", "zR", require("ufo").openAllFolds) vim.keymap.set("n", "zM", require("ufo").closeAllFolds) + vim.keymap.set("n", "zm", require("ufo").closeFoldsWith) -- Show numbers for fold text local handler = function(virtText, lnum, endLnum, width, truncate)