diff --git a/plugins/aerial/default.nix b/plugins/aerial/default.nix index 938500f..94ab15e 100644 --- a/plugins/aerial/default.nix +++ b/plugins/aerial/default.nix @@ -5,10 +5,10 @@ (import ./package.nix { inherit lib pkgs; }) ]; - config = '' + config = /*lua*/ '' require("aerial").setup({ backends = { "lsp", "treesitter", "markdown", "man" }, - layout = { min_width = 28, placement = "edge" }, + layout = { min_width = 28, placement = "window", default_direction = "prefer_left" }, show_guides = true, filter_kind = false, @@ -24,10 +24,14 @@ ["]y"] = "actions.next", ["[Y"] = "actions.prev_up", ["]Y"] = "actions.next_up", + ["|"] = "actions.jump_vsplit", + ["\\"] = "actions.jump_split", ["{"] = false, ["}"] = false, ["[["] = false, ["]]"] = false, + [""] = false, + [""] = false, }, attach_mode = "global", }) @@ -38,7 +42,7 @@ { mode = "n"; key = "lO"; - action.__raw = ''function() require("aerial").open({direction = "left"}) end''; + action.__raw = ''function() require("aerial").open() end''; options.desc = "Symbols outline (left)"; } {