dotfiles/vim/lua/aerial_config.lua

11 lines
400 B
Lua
Raw Normal View History

2024-04-08 07:32:44 +00:00
require("aerial").setup({
on_attach = function(bufnr)
2024-11-10 13:45:24 +00:00
vim.keymap.set("n", "[s", "<cmd>AerialPrev<CR>", { buffer = bufnr, noremap = true })
vim.keymap.set("n", "]s", "<cmd>AerialNext<CR>", { buffer = bufnr, noremap = true })
2024-04-08 07:32:44 +00:00
end,
2024-04-08 08:13:33 +00:00
autojump = true,
2024-06-21 05:09:21 +00:00
nerd_font = "auto",
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>")