dotfiles/vim/lua/aerial_config.lua

10 lines
345 B
Lua
Raw Normal View History

2024-04-08 07:32:44 +00:00
require("aerial").setup({
on_attach = function(bufnr)
2024-04-08 08:13:33 +00:00
vim.keymap.set("n", "[", "<cmd>AerialPrev<CR>", { buffer = bufnr })
vim.keymap.set("n", "]", "<cmd>AerialNext<CR>", { buffer = bufnr })
2024-04-08 07:32:44 +00:00
end,
2024-04-08 08:13:33 +00:00
autojump = true,
2024-04-08 07:32:44 +00:00
})
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
2024-04-08 08:13:33 +00:00
vim.keymap.set("n", "<leader>ds", "<cmd>call aerial#fzf()<CR>")