plugins.alpha.enable

Whether to enable alpha-nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.alpha.package

The alpha-nvim package to use.

Type: package

Default: pkgs.vimPlugins.alpha-nvim

Declared by:

plugins.alpha.layout

List of sections to layout for the dashboard

Type: string or raw lua code or list of (attribute set of anything)

Default: [ ]

Example:

[
  {
    type = "padding";
    val = 2;
  }
  {
    opts = {
      hl = "Type";
      position = "center";
    };
    type = "text";
    val = [
      "███╗   ██╗██╗██╗  ██╗██╗   ██╗██╗███╗   ███╗"
      "████╗  ██║██║╚██╗██╔╝██║   ██║██║████╗ ████║"
      "██╔██╗ ██║██║ ╚███╔╝ ██║   ██║██║██╔████╔██║"
      "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
      "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
      "╚═╝  ╚═══╝╚═╝╚═╝  ╚═╝  ╚═══╝  ╚═╝╚═╝     ╚═╝"
    ];
  }
  {
    type = "padding";
    val = 2;
  }
  {
    type = "group";
    val = [
      {
        on_press = {
          __raw = "function() vim.cmd[[ene]] end";
        };
        opts = {
          shortcut = "n";
        };
        type = "button";
        val = "  New file";
      }
      {
        on_press = {
          __raw = "function() vim.cmd[[qa]] end";
        };
        opts = {
          shortcut = "q";
        };
        type = "button";
        val = " Quit Neovim";
      }
    ];
  }
  {
    type = "padding";
    val = 2;
  }
  {
    opts = {
      hl = "Keyword";
      position = "center";
    };
    type = "text";
    val = "Inspiring quote here.";
  }
]

Declared by:

plugins.alpha.opts

Optional global options.

Type: null or (attribute set of anything)

Default: null

Declared by:

plugins.alpha.theme

You can directly use a pre-defined theme.

Type: null or string or raw lua code

Default: null

Example: "dashboard"

Declared by: