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>
This commit is contained in:
CaptainEureka 2023-05-25 14:16:05 +02:00 committed by GitHub
parent b3cb98e4a8
commit b69bde941a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 280 additions and 0 deletions

View file

@ -0,0 +1,64 @@
{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";
};
}
];
};
};
}