X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f534f49902f86d157292b5a2ba740c4d7f079741..8989ff1e17ac528e13a64614b669be3fb03b2435:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index f5bfd74..249ac6d 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -182,6 +182,23 @@ return { end, }, }, + { "chrisgrieser/nvim-origami", -- fold with elegance + event = "VeryLazy", + opts = { + foldKeymaps = { setup = false }, + foldtext = { + padding = 1, + lineCount = { + template = "… %d lines" + } + } + }, + init = function() + -- disable vim's folding + vim.opt.foldlevel = 99 + vim.opt.foldlevelstart = 99 + end + }, -- TODO: currently unused plugins, check and enable/remove { "MagicDuck/grug-far.nvim", enabled = false,