dotfiles/vim/lua/aerial_config.lua

11 lines
366 B
Lua

require("aerial").setup({
on_attach = function(bufnr)
vim.keymap.set("n", "[", "<cmd>AerialPrev<CR>", { buffer = bufnr })
vim.keymap.set("n", "]", "<cmd>AerialNext<CR>", { buffer = bufnr })
end,
autojump = true,
nerd_font = "auto",
})
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
vim.keymap.set("n", "<leader>ds", "<cmd>call aerial#fzf()<CR>")