edit aerial settings
This commit is contained in:
parent
6e554e0ac5
commit
b368fd77ff
1 changed files with 7 additions and 3 deletions
|
|
@ -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)";
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue