mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 13:58:00 +00:00
[neovim] Use simplified code
This commit is contained in:
parent
49b7a899aa
commit
c490714638
@ -7,9 +7,9 @@ ufo.setup({
|
||||
})
|
||||
|
||||
local keymap = vim.keymap.set
|
||||
-- Code Folding
|
||||
keymap("n", "zR", require("ufo").openAllFolds, { desc = "Open all folds" })
|
||||
keymap("n", "zM", require("ufo").closeAllFolds, { desc = "Close all folds" })
|
||||
|
||||
keymap("n", "zR", ufo.openAllFolds, { desc = "Open all folds" })
|
||||
keymap("n", "zM", ufo.closeAllFolds, { desc = "Close all folds" })
|
||||
keymap("n", "zr", ufo.openFoldsExceptKinds, { desc = "Fold less" })
|
||||
keymap("n", "zm", ufo.closeFoldsWith, { desc = "Fold more" })
|
||||
keymap("n", "zp", ufo.peekFoldedLinesUnderCursor, { desc = "Peek fold" })
|
||||
|
Loading…
Reference in New Issue
Block a user