update neotree, theme, add dashboard and auto command
This commit is contained in:
parent
7a7072adfe
commit
beb019f6fa
6 changed files with 110 additions and 38 deletions
|
|
@ -21,7 +21,7 @@
|
|||
keymaps = [
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<C-e>";
|
||||
key = "<leader>e";
|
||||
action = "<cmd>Neotree toggle<cr>";
|
||||
options = {desc = "Open/Close Neotree";};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
cmp = true;
|
||||
notify = true;
|
||||
gitsigns = true;
|
||||
dashboard = true;
|
||||
lualine = true;
|
||||
which_key = true;
|
||||
illuminate = {
|
||||
enabled = true;
|
||||
|
|
|
|||
25
config/plugins/ui/dashboard.nix
Normal file
25
config/plugins/ui/dashboard.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
plugins.dashboard = {
|
||||
enable = true;
|
||||
|
||||
header = [
|
||||
''
|
||||
██████╗░███████╗░█████╗░░█████╗░██████╗░████████╗░░░████████╗███████╗░█████╗░██╗░░██╗
|
||||
██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░╚══██╔══╝██╔════╝██╔══██╗██║░░██║
|
||||
██║░░██║█████╗░░██║░░╚═╝██║░░██║██████╔╝░░░██║░░░░░░░░░██║░░░█████╗░░██║░░╚═╝███████║
|
||||
██║░░██║██╔══╝░░██║░░██╗██║░░██║██╔══██╗░░░██║░░░░░░░░░██║░░░██╔══╝░░██║░░██╗██╔══██║
|
||||
██████╔╝███████╗╚█████╔╝╚█████╔╝██║░░██║░░░██║░░░██╗░░░██║░░░███████╗╚█████╔╝██║░░██║
|
||||
╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝░╚════╝░╚═╝░░╚═╝
|
||||
''
|
||||
];
|
||||
|
||||
center = [
|
||||
{
|
||||
action = "Telescope find_files";
|
||||
desc = " Find File";
|
||||
icon = " ";
|
||||
shortcut = "f";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue