dotfiles/vim/lua/aerial_config.lua

11 lines
400 B
Lua

require("aerial").setup({
on_attach = function(bufnr)
vim.keymap.set("n", "[s", "<cmd>AerialPrev<CR>", { buffer = bufnr, noremap = true })
vim.keymap.set("n", "]s", "<cmd>AerialNext<CR>", { buffer = bufnr, noremap = true })
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>")