45 lines
1.7 KiB
Nix
45 lines
1.7 KiB
Nix
{
|
|
programs.nixvim.plugins = {
|
|
dashboard = {
|
|
enable = true;
|
|
settings = {
|
|
change_to_vcs_root = true;
|
|
config = {
|
|
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 project display_type=full hide_workspace=true";
|
|
desc = " Projects";
|
|
group = "DiagnosticHint";
|
|
key = "p";
|
|
}
|
|
];
|
|
};
|
|
theme = "hyper";
|
|
};
|
|
};
|
|
};
|
|
}
|