goolord/alpha-nvim

github github
startup
stars 1,654
issues 33
subscribers 10
forks 100
CREATED

2021-09-01

UPDATED

3 months ago


α alpha-nvim

alpha is a fast and fully programmable greeter for neovim.

share or snipe some custom themes @ https://github.com/goolord/alpha-nvim/discussions/16

Quick Start

vim-startify theme

glamor shot

With lazy.nvim:

{
    'goolord/alpha-nvim',
    dependencies = { 'nvim-tree/nvim-web-devicons' },
    config = function ()
        require'alpha'.setup(require'alpha.themes.startify'.config)
    end
};

With packer:

use {
    'goolord/alpha-nvim',
    requires = { 'nvim-tree/nvim-web-devicons' },
    config = function ()
        require'alpha'.setup(require'alpha.themes.startify'.config)
    end
}

..or using paq:

require "paq" {
    "goolord/alpha-nvim";
    "nvim-tree/nvim-web-devicons";
}
require'alpha'.setup(require'alpha.themes.startify'.config)

dashboard-nvim theme

glamor shot

With lazy.nvim:

{
    'goolord/alpha-nvim',
    config = function ()
        require'alpha'.setup(require'alpha.themes.dashboard'.config)
    end
};

With packer:

use {
    'goolord/alpha-nvim',
    config = function ()
        require'alpha'.setup(require'alpha.themes.dashboard'.config)
    end
}

..or using paq:

require "paq" {
    "goolord/alpha-nvim";
    "nvim-tree/nvim-web-devicons";
}
require'alpha'.setup(require'alpha.themes.dashboard'.config)

Theta theme

With lazy.nvim:

{
    'goolord/alpha-nvim',
    dependencies = {
        'nvim-tree/nvim-web-devicons',
        'nvim-lua/plenary.nvim'
    },
    config = function ()
        require'alpha'.setup(require'alpha.themes.theta'.config)
    end
};

With packer:

use {
    'goolord/alpha-nvim',
    requires = {
        'nvim-tree/nvim-web-devicons',
        'nvim-lua/plenary.nvim'
    },
    config = function ()
        require'alpha'.setup(require'alpha.themes.dashboard'.config)
    end
}

..or using paq:

require "paq" {
    "goolord/alpha-nvim";
    "nvim-tree/nvim-web-devicons";
    'nvim-lua/plenary.nvim';
}
require'alpha'.setup(require'alpha.themes.dashboard'.config)

if you want sessions, see

this theme makes some assumptions about your default keybindings to customize the buttons, see :h alpha-example

Elevator pitch

alpha is really a general purpose neovim ui library with some conveniences for writing a greeter ui. it has a functional, data-oriented api design. themes are expressed entirely as data, which is what makes alpha "fully programmable". alpha is also the fastest greeter I've benchmarked (which is why I daily drive it myself!).

Profiling Results

benchmark

Special Thanks