local wk = require("which-key") require("aerial").setup({ lazy_load = true, backends = { "treesitter", "lsp", "markdown", "man" }, layout = { -- max_width = {40, 0.2} means "the lesser of 40 columns or 20% of total" max_width = { 40, 0.2 }, width = nil, min_width = 10, default_direction = "prefer_right", -- Determines where the aerial window will be opened -- edge - open aerial at the far right/left of the editor -- window - open aerial to the right/left of the current window placement = "edge", resize_to_content = true, }, wk.add({ { "{", "AerialPrev", desc = "Jump to prev Symbol" }, { "}", "AerialNext", desc = "Jump to prev Symbol" }, { "a", "AerialToggle!", desc = "Toggle Outline" }, }), })