nixos-config/config/programs/vim/modules/visual/dashboard.nix

55 lines
2.6 KiB
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ pkgs, ... }:
{
vim.g = {
dashboard_custom_footer = [
"It's pretty hard to tell what does bring happiness; poverty and wealth"
"have both failed."
" -- Kim Hubbard"
];
dashboard_custom_header = [
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
];
dashboard_enable_session = false;
dashboard_default_executive = "telescope";
dashboard_custom_section = {
"1_oldfiles" = {
description = [ " Open History -" ];
command = "Telescope oldfiles";
};
"2_find_files" = {
description = [ " Find File SPC f o" ];
command = "Telescope find_files";
};
"3_new_file" = {
description = [ " New File -" ];
command = "enew";
};
"4_lazygit" = {
description = [ " lazygit SPC g g" ];
command = "LazyGit";
};
"5_live_grep" = {
description = [ " Live Grep SPC f /" ];
command = "Telescope live_grep";
};
};
};
output.plugins = with pkgs.vimPlugins; [ dashboard-nvim ];
}