feat(nvim): rebind zm
to nvim-ufo
's zm
provider
This commit is contained in:
parent
78640d2eef
commit
bd60722f3e
@ -8,6 +8,7 @@ return {
|
|||||||
opts = function()
|
opts = function()
|
||||||
vim.keymap.set("n", "zR", require("ufo").openAllFolds)
|
vim.keymap.set("n", "zR", require("ufo").openAllFolds)
|
||||||
vim.keymap.set("n", "zM", require("ufo").closeAllFolds)
|
vim.keymap.set("n", "zM", require("ufo").closeAllFolds)
|
||||||
|
vim.keymap.set("n", "zm", require("ufo").closeFoldsWith)
|
||||||
|
|
||||||
-- Show numbers for fold text
|
-- Show numbers for fold text
|
||||||
local handler = function(virtText, lnum, endLnum, width, truncate)
|
local handler = function(virtText, lnum, endLnum, width, truncate)
|
||||||
|
Loading…
Reference in New Issue
Block a user