too many things
This commit is contained in:
@@ -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" },
|
||||
-- }),
|
||||
--})
|
||||
|
||||
Reference in New Issue
Block a user