aerial.lua 430 B

12345678910111213141516
  1. return {
  2. 'stevearc/aerial.nvim',
  3. opts = {},
  4. -- Optional dependencies
  5. dependencies = {
  6. "nvim-treesitter/nvim-treesitter",
  7. "nvim-tree/nvim-web-devicons"
  8. },
  9. config = function()
  10. vim.keymap.set("n", "{", ":AerialPrev<CR>", {})
  11. vim.keymap.set("n", "}", ":AerialNext<CR>", {})
  12. vim.keymap.set("n", "<leader>a", ":AerialToggle<CR>", {})
  13. end
  14. -- You probably also want to set a keymap to toggle aerial
  15. }