add dashboard

This commit is contained in:
Charlotte 🦝 Delenk 2023-04-14 15:01:23 +01:00
parent c17efa8b7f
commit 81dbb73b66
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -0,0 +1,58 @@
{pkgs, ...}: {
output.plugins = with pkgs.vimPlugins; [dashboard-nvim];
plugin.setup.dashboard = {
custom_header = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
];
custom_center = [
{
icon = " ";
desc = "Find File ";
action = "Leaderf file --popup";
shortcut = "<Leader> f f";
}
{
icon = " ";
desc = "Recently opened files ";
action = "Leaderf mru --popup";
shortcut = "<Leader> f r";
}
{
icon = " ";
desc = "Project grep ";
action = "Leaderf rg --popup";
shortcut = "<Leader> f g";
}
{
icon = " ";
desc = "Open Nvim config ";
action = "tabnew $MYVIMRC | tcd %:p:h";
shortcut = "<Leader> e v";
}
{
icon = " ";
desc = "New file ";
action = "enew";
shortcut = "e ";
}
{
icon = " ";
desc = "Quit Nvim ";
action = "qa";
shortcut = "q ";
}
];
};
}