feat: layout actions (#1383)

Co-authored-by: johnybx <johnybx@users.noreply.github.com>
This commit is contained in:
Luke Kershaw
2021-11-15 21:32:02 +00:00
parent b952c2f852
commit edcf07cf88
6 changed files with 245 additions and 34 deletions

View File

@@ -189,6 +189,23 @@ append(
append("layout_config", layout_config_defaults, layout_config_description)
append(
"cycle_layout_list",
{ "horizontal", "vertical", { layout_strategy = "horizontal", previewer = false } },
[[
Determines the layouts to cycle through when using `actions.cycle_layout_next`
and `actions.cycle_layout_prev`.
Should be a list of "layout setups".
Each "layout setup" can take one of two forms:
1. string <br>
This is interpreted as the name of a `layout_strategy`
2. table <br>
A table with possible keys `layout_strategy`, `layout_config` and `previewer`
Default: TODO
]]
)
append(
"winblend",
0,