Skip to content

LiamGoodacre/lay.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lay.nvim

Layout a subset of your windows by editing a layout expression.

For example if you have a layout such as:

    +---------+---------+
    |         |         |
    |         |    2    |
    |         |         |
    |    1    +---------+
    |         |         |
    |         |    3    |
    |         |         |
    +---------+---------+

This would be captured by the expression h{1, v{2, 3}}.

If you then edited this to be v{h{1, 2}, 3}, you'd end up with:

    +---------+---------+
    |         |         |
    |    1    |    2    |
    |         |         |
    +---------+---------+
    |                   |
    |         3         |
    |                   |
    +-------------------+

See :help lay.nvim / docs for details.

Setup (neovim v0.12 with pack)

vim.pack.add({ "https://github.com/LiamGoodacre/lay.nvim" }, { load = true, confirm = false })
require("lay").setup()

Then run with:

:Lay

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages