diff --git a/nvim/.config/nvim/lua/plugins/outliners.lua b/nvim/.config/nvim/lua/plugins/outliners.lua index 86a3129..af28995 100644 --- a/nvim/.config/nvim/lua/plugins/outliners.lua +++ b/nvim/.config/nvim/lua/plugins/outliners.lua @@ -1,35 +1,4 @@ return { - -- vista-like outline view for code - { - "stevearc/aerial.nvim", - config = true, - -- Optional dependencies - dependencies = { - "nvim-treesitter/nvim-treesitter", - "nvim-tree/nvim-web-devicons", - }, - cmd = { - "AerialToggle", - "AerialOpen", - "AerialOpenAll", - "AerialClose", - "AerialCloseAll", - "AerialNext", - "AerialPrev", - "AerialGo", - "AerialInfo", - "AerialNavToggle", - "AerialNavOpen", - "AerialNavClose", - }, - opts = { - backends = { "treesitter", "lsp", "markdown", "man" }, - }, - keys = { - { "so", "AerialNavToggle", silent = true, desc = "symbol navigator" }, - { "sO", "AerialToggle", silent = true, desc = "symbol outline" }, - }, - }, -- useful quickfix-like buffer { "folke/trouble.nvim", @@ -46,6 +15,8 @@ return { silent = true, desc = "diagnostics document", }, + { "so", "Trouble symbols toggle focus=true win.type=float", silent = true, desc = "symbol outline" }, + { "sO", "Trouble symbols toggle focus=false win.position=right", silent = true, desc = "symbol outline" }, }, }, }