Skip to content

sweetboss12512/fold-textobjects.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages