{
  empty = {
    plugins.web-devicons.enable = true;
    plugins.barbar.enable = true;
  };

  keymappings = {
    plugins.web-devicons.enable = true;
    plugins.barbar = {
      enable = true;

      keymaps = {
        next.key = "<TAB>";
        previous.key = "<S-TAB>";
        close = {
          key = "<C-w>";
          options.desc = "Barbar close tab";
        };
        restore.key = "<C-S-t>";
      };
    };
  };

  defaults = {
    plugins.web-devicons.enable = true;
    plugins.barbar = {
      enable = true;

      settings = {
        animation = true;
        auto_hide = -1;
        clickable = true;
        exclude_ft.__empty = { };
        exclude_name.__empty = { };
        focus_on_close = "left";
        hide = {
          alternate = false;
          current = false;
          extensions = false;
          inactive = false;
          visible = false;
        };
        highlight_alternate = false;
        highlight_inactive_file_icons = false;
        highlight_visible = true;
        icons = {
          buffer_index = false;
          buffer_number = false;
          button = "";
          diagnostics = {
            "vim.diagnostic.severity.ERROR" = {
              enabled = false;
              icon = " ";
            };
            "vim.diagnostic.severity.HINT" = {
              enabled = false;
              icon = "󰌶 ";
            };
            "vim.diagnostic.severity.INFO" = {
              enabled = false;
              icon = " ";
            };
            "vim.diagnostic.severity.WARN" = {
              enabled = false;
              icon = " ";
            };
          };
          gitsigns = {
            added = {
              enabled = true;
              icon = "+";
            };
            changed = {
              enabled = true;
              icon = "~";
            };
            deleted = {
              enabled = true;
              icon = "-";
            };
          };
          filename = true;
          filetype = {
            custom_colors = false;
            enabled = true;
          };
          separator = {
            left = "▎";
            right = "";
            separator_at_end = true;
          };
          pinned = {
            button = false;
            filename = false;
            separator.right = " ";
          };
          alternate.__empty = { };
          current.__empty = { };
          inactive.__empty = { };
          visible.__empty = { };
          preset = "default";
        };
        insert_at_start = false;
        insert_at_end = false;
        letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
        maximum_padding = 4;
        maximum_length = 30;
        minimum_length = 0;
        minimum_padding = 1;
        no_name_title.__raw = "nil";
        semantic_letters = true;
        sidebar_filetypes.__empty = { };
        tabpages = true;
      };
    };
  };

  readme-example = {
    plugins.web-devicons.enable = true;
    plugins.barbar = {
      enable = true;

      settings = {
        animation = true;
        auto_hide = false;
        tabpages = true;
        clickable = true;
        exclude_ft = [ "javascript" ];
        exclude_name = [ "package.json" ];
        focus_on_close = "left";
        hide = {
          extensions = true;
          inactive = true;
        };
        highlight_alternate = false;
        highlight_inactive_file_icons = false;
        highlight_visible = true;
        icons = {
          buffer_index = false;
          buffer_number = false;
          button = "";
          diagnostics = {
            "vim.diagnostic.severity.ERROR" = {
              enabled = true;
              icon = "ﬀ";
            };
            "vim.diagnostic.severity.WARN".enabled = false;
            "vim.diagnostic.severity.INFO".enabled = false;
            "vim.diagnostic.severity.HINT".enabled = true;
          };
          gitsigns = {
            added = {
              enabled = true;
              icon = "+";
            };
            changed = {
              enabled = true;
              icon = "~";
            };
            deleted = {
              enabled = true;
              icon = "-";
            };
          };
          filetype = {
            custom_colors = false;
            enabled = true;
          };
          separator = {
            left = "▎";
            right = "";
          };
          separator_at_end = true;
          modified = {
            button = "●";
          };
          pinned = {
            button = "";
            filename = true;
          };
          preset = "default";
          alternate = {
            filetype = {
              enabled = false;
            };
          };
          current = {
            buffer_index = true;
          };
          inactive = {
            button = "×";
          };
          visible = {
            modified = {
              buffer_number = false;
            };
          };
        };
        insert_at_end = false;
        insert_at_start = false;
        maximum_padding = 1;
        minimum_padding = 1;
        maximum_length = 30;
        minimum_length = 0;
        semantic_letters = true;
        sidebar_filetypes = {
          NvimTree = true;
          undotree = {
            text = "undotree";
            align = "center";
          };
          neo-tree = {
            event = "BufWipeout";
          };
          Outline = {
            event = "BufWinLeave";
            text = "symbols-outline";
            align = "right";
          };
        };
        letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
        no_name_title.__raw = "nil";
      };
    };
  };

  no-icons = {
    plugins.web-devicons.enable = false;
    plugins.barbar = {
      enable = true;
      settings.icons.filetype.enabled = false;
    };
  };
}
