edit aerial settings

This commit is contained in:
Michael Flossmann 2024-09-09 11:48:10 +02:00
parent b5f8993eeb
commit 26dba13017

View file

@ -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,
["<C-v>"] = false,
["<C-s>"] = false,
},
attach_mode = "global",
})
@ -38,7 +42,7 @@
{
mode = "n";
key = "<leader>lO";
action.__raw = ''function() require("aerial").open({direction = "left"}) end'';
action.__raw = ''function() require("aerial").open() end'';
options.desc = "Symbols outline (left)";
}
{