flake/nixos/nvim/plugins/dashboard.nix
2025-02-04 13:32:27 -06:00

45 lines
1.6 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 repo list";
desc = " Projects";
group = "DiagnosticHint";
key = "p";
}
];
};
theme = "hyper";
};
};
};
}