81 lines
2.2 KiB
Nix
81 lines
2.2 KiB
Nix
{...}: {
|
|
programs.nixvim.plugins.alpha = {
|
|
enable = 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>";
|
|
}
|
|
];
|
|
}
|
|
{ type = "padding"; val = 1; }
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
shortcut = "f";
|
|
desc = " Open File";
|
|
command = ":Telescope find_files<CR>";
|
|
}
|
|
];
|
|
}
|
|
{ type = "padding"; val = 1; }
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
shortcut = "r";
|
|
desc = " Recently Opened";
|
|
command = ":Telescope oldfiles<CR>";
|
|
}
|
|
];
|
|
}
|
|
{ type = "padding"; val = 1; }
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
shortcut = "g";
|
|
desc = " Find Word";
|
|
command = ":Telescope live_grep<CR>";
|
|
}
|
|
];
|
|
}
|
|
{ type = "padding"; val = 1; }
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
shortcut = "q";
|
|
desc = " Quit Neovim";
|
|
command = ":qa<CR>";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|