too many things

This commit is contained in:
fbachus
2025-09-02 03:32:47 +02:00
parent c26d3a64b0
commit f19e8a00c7
81 changed files with 2724 additions and 1549 deletions

View File

@@ -1,22 +1,8 @@
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({
{ "{", "<cmd>AerialPrev<CR>", desc = "Jump to prev Symbol" },
{ "}", "<cmd>AerialNext<CR>", desc = "Jump to prev Symbol" },
{ "<leader>a", "<cmd>AerialToggle!<CR>", desc = "Toggle Outline" },
}),
})
--local wk = require("which-key")
--require("aerial").setup({
-- wk.add({
-- { "{", "<cmd>AerialPrev<CR>", desc = "Jump to prev Symbol" },
-- { "}", "<cmd>AerialNext<CR>", desc = "Jump to prev Symbol" },
-- { "<leader>a", "<cmd>AerialToggle!<CR>", desc = "Toggle Outline" },
-- }),
--})