{ lib, config, ... }: let cfg = config.presets.aerial; in { options.presets.aerial = { enable = lib.mkEnableOption "aerial"; }; config = lib.mkIf cfg.enable { keymaps = [ { key = ""; action = # vim ":AerialPrev"; } { key = ""; action = # vim ":AerialNext"; } { key = "fs"; mode = "n"; action = # vim ":Telescope aerial"; } ]; plugins = { aerial = { enable = true; settings = { autojump = true; highlight_on_jump = false; filter_kind = false; open_automatic = false; show_guides = true; backends = [ "lsp" "treesitter" "markdown" "asciidoc" "man" ]; layout = { placement = "edge"; direction = "right"; }; }; }; which-key.settings.spec = [ { __unkeyed-1 = "fs"; group = "Symbols"; icon = "󰡱"; } ]; }; }; }