editor/config/ui/dashboard.nix

68 lines
1.6 KiB
Nix
Raw Normal View History

2024-09-07 20:51:15 +01:00
{
plugins.dashboard = {
enable = true;
settings = {
change_to_vcs_root = true;
shortcut_type = "letter";
hide = {
statusline = true;
tabline = true;
};
config = {
disable_move = false;
2024-09-07 20:51:15 +01:00
header = [
" _ __ _ ___ "
" / | / /__ ____| | / (_)___ ___ "
" / |/ / _ \\/ __ \\ | / / / __ `__ \\"
" / /| / __/ /_/ / |/ / / / / / / /"
"/_/ |_/\\___/\\____/|___/_/_/ /_/ /_/ "
" "
];
footer = [ "NeoVim" ];
mru = {
cwd_only = true;
icon = " ";
label = "Recent Files";
limit = 10;
};
project = {
enable = true;
action = "e ";
icon = "󰉋 ";
label = "Projects";
limit = 8;
};
shortcut = [
{
icon = " ";
desc = "Open ";
key = "o";
action = "Telescope find_files";
}
{
icon = " ";
desc = "Recent ";
key = "r";
action = "Telescope oldfiles";
}
{
icon = " ";
desc = "OS Config ";
2024-09-07 20:51:15 +01:00
key = "c";
action = "e $HOME/Documents/Code/NixFiles - Personal";
}
{
icon = " ";
desc = "Vim Config ";
key = "v";
action = "e $HOME/Documents/Code/NixVim";
2024-09-07 20:51:15 +01:00
}
];
};
};
};
}