Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 579 Bytes

README.md

File metadata and controls

29 lines (27 loc) · 579 Bytes

Installation

With Lazy:

return {
    "sweetboss12512/fold-textobjects.nvim", 
	keys = {
        {
            mode = { "o", "x" },
            "iz",
            function()
                require("fold-textobjects").inside_fold()
            end,
            desc = "inner fold",
        },
        {
            mode = { "o", "x" },
            "az",
            function()
                require("fold-textobjects").around_fold()
            end,
            desc = "outer fold",
        },
    }
}

Why?

I wanted to select a #region comment but I couldn't.