feat: replace aerial with outline

This commit is contained in:
2026-02-11 18:52:58 +01:00
parent 778610083e
commit 5bbd5493c5
2 changed files with 16 additions and 28 deletions
-28
View File
@@ -1,28 +0,0 @@
---@type LazyPluginSpec
return {
"stevearc/aerial.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
keys = {
{
"<leader>ss",
function()
require("aerial").toggle({ focus = false, direction = "left" })
end,
},
{
"gs",
function()
require("aerial").focus()
end,
},
},
opts = {
layout = {
max_width = 60,
min_width = 60,
},
attach_mode = "global",
},
}
+16
View File
@@ -0,0 +1,16 @@
---@type LazyPluginSpec
return {
"hedyhli/outline.nvim",
lazy = true,
cmd = { "Outline", "OutlineOpen" },
keys = { -- Example mapping to toggle outline
{ "<leader>o", "<cmd>Outline<CR>", desc = "Toggle outline" },
},
opts = {
outline_window = {
relative_width = false,
split_command = "aboveleft 40vsp",
focus_on_open = false,
},
},
}