48 lines
1.7 KiB
Nix
48 lines
1.7 KiB
Nix
{
|
||
programs.nixvim.plugins = {
|
||
dashboard = {
|
||
enable = true;
|
||
settings = {
|
||
change_to_vcs_root = true;
|
||
config = {
|
||
footer = [
|
||
"Made with ❤️"
|
||
];
|
||
header = [
|
||
"███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
||
"████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║"
|
||
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║"
|
||
"██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
||
"██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
||
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
||
];
|
||
mru = {
|
||
limit = 20;
|
||
};
|
||
project = {
|
||
enable = true;
|
||
};
|
||
shortcut = [
|
||
{
|
||
action = {
|
||
__raw = "function(path) vim.cmd('Telescope find_files') end";
|
||
};
|
||
desc = "Files";
|
||
group = "Label";
|
||
icon = " ";
|
||
icon_hl = "@variable";
|
||
key = "f";
|
||
}
|
||
{
|
||
action = "Telescope repo list";
|
||
desc = " Projects";
|
||
group = "DiagnosticHint";
|
||
key = "p";
|
||
}
|
||
];
|
||
};
|
||
theme = "hyper";
|
||
};
|
||
};
|
||
};
|
||
}
|