dotfiles

custom linux config files managed with gnu stow

dotfiles

neovim/.config/nvim/lua/plugins/aerial.lua


return {
	"stevearc/aerial.nvim",
	config = function()
		local aerial = require("aerial")

		aerial.setup({
			on_attach = function(bufnr)
				local r = require("utils.remaps")

				r.noremap("n", "{o", "<cmd>AerialPrev<CR>", "Aerial previous item", { buffer = bufnr })
				r.noremap("n", "}o", "<cmd>AerialNext<CR>", "Aerial next item", { buffer = bufnr })
			end,
		})
	end,
	cmd = "AerialToggle",
}

Download

raw zip tar