dotfiles/vim/lua/aerial_config.lua

10 lines
341 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>ds", "<cmd>call aerial#fzf()<CR>")