diff --git a/lua/ow/plugins/aerial.lua b/lua/ow/plugins/aerial.lua new file mode 100644 index 0000000..7097aa2 --- /dev/null +++ b/lua/ow/plugins/aerial.lua @@ -0,0 +1,28 @@ +---@type LazyPluginSpec +return { + "stevearc/aerial.nvim", + dependencies = { + "nvim-treesitter/nvim-treesitter", + }, + keys = { + { + "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", + }, +}