nix-community.nixvim/tests/test-sources/plugins/utils/alpha.nix
CaptainEureka b69bde941a
plugins/alpha-nvim: add alpha-nvim plugin module + tests (#378)
* plugins/alpha-nvim: add alpha-nvim plugin module + tests

* fix: remove telescope from defaults

* Update plugins/utils/alpha.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* update: remove theme option

* update: add default configuration

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-05-25 14:16:05 +02:00

64 lines
1.9 KiB
Nix

{pkgs}: {
empty = {
plugins.alpha.enable = true;
};
default = {
plugins.alpha = {
enable = true;
iconsEnabled = true;
layout = [
{
type = "padding";
val = 2;
}
{
type = "text";
val = [
" "
" "
" "
" "
" "
" "
];
opts = {
position = "center";
hl = "Type";
};
}
{
type = "padding";
val = 2;
}
{
type = "group";
val = [
{
shortcut = "e";
desc = " New file";
command = "<CMD>ene <CR>";
}
{
shortcut = "SPC q";
desc = " Quit Neovim";
command = ":qa<CR>";
}
];
}
{
type = "padding";
val = 2;
}
{
type = "text";
val = "Inspiring quote here.";
opts = {
position = "center";
hl = "Keyword";
};
}
];
};
};
}