flake/nixos/nvim/plugins/dashboard.nix

46 lines
1.7 KiB
Nix
Raw Normal View History

2025-02-02 18:53:01 -06:00
{
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";
2025-02-02 18:53:01 -06:00
desc = " Projects";
group = "DiagnosticHint";
key = "p";
}
];
};
theme = "hyper";
};
};
};
}