edit aerial settings
This commit is contained in:
parent
b5f8993eeb
commit
26dba13017
1 changed files with 7 additions and 3 deletions
|
|
@ -5,10 +5,10 @@
|
||||||
(import ./package.nix { inherit lib pkgs; })
|
(import ./package.nix { inherit lib pkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
config = ''
|
config = /*lua*/ ''
|
||||||
require("aerial").setup({
|
require("aerial").setup({
|
||||||
backends = { "lsp", "treesitter", "markdown", "man" },
|
backends = { "lsp", "treesitter", "markdown", "man" },
|
||||||
layout = { min_width = 28, placement = "edge" },
|
layout = { min_width = 28, placement = "window", default_direction = "prefer_left" },
|
||||||
show_guides = true,
|
show_guides = true,
|
||||||
filter_kind = false,
|
filter_kind = false,
|
||||||
|
|
||||||
|
|
@ -24,10 +24,14 @@
|
||||||
["]y"] = "actions.next",
|
["]y"] = "actions.next",
|
||||||
["[Y"] = "actions.prev_up",
|
["[Y"] = "actions.prev_up",
|
||||||
["]Y"] = "actions.next_up",
|
["]Y"] = "actions.next_up",
|
||||||
|
["|"] = "actions.jump_vsplit",
|
||||||
|
["\\"] = "actions.jump_split",
|
||||||
["{"] = false,
|
["{"] = false,
|
||||||
["}"] = false,
|
["}"] = false,
|
||||||
["[["] = false,
|
["[["] = false,
|
||||||
["]]"] = false,
|
["]]"] = false,
|
||||||
|
["<C-v>"] = false,
|
||||||
|
["<C-s>"] = false,
|
||||||
},
|
},
|
||||||
attach_mode = "global",
|
attach_mode = "global",
|
||||||
})
|
})
|
||||||
|
|
@ -38,7 +42,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>lO";
|
key = "<leader>lO";
|
||||||
action.__raw = ''function() require("aerial").open({direction = "left"}) end'';
|
action.__raw = ''function() require("aerial").open() end'';
|
||||||
options.desc = "Symbols outline (left)";
|
options.desc = "Symbols outline (left)";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue