nvim/lua/config/aerial.lua
Evie Litherland-Smith 4054030afc Initial add
Separate nvim config into separate project, to be used as submodule
for main dotfile
2023-05-04 12:39:25 +01:00

9 lines
340 B
Lua

return {
-- optionally use on_attach to set keymaps when aerial has attached to a buffer
on_attach = function(bufnr)
-- Jump forwards/backwards with '{' and '}'
vim.keymap.set("n", "{", "<cmd>AerialPrev<CR>", { buffer = bufnr })
vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr })
end,
}