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
11
config/auto_cmds.nix
Normal file
11
config/auto_cmds.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
autoCmd = [
|
||||
{
|
||||
group = "highlight_yank";
|
||||
callback = ''
|
||||
function()
|
||||
vim.highlight.on_yank()
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@ _: {
|
|||
# General Configuration
|
||||
./settings.nix
|
||||
./keymaps.nix
|
||||
./auto_cmds.nix
|
||||
|
||||
# Themes
|
||||
./plugins/themes/default.nix
|
||||
|
|
@ -25,6 +26,7 @@ _: {
|
|||
# UI plugins
|
||||
./plugins/ui/bufferline.nix
|
||||
./plugins/ui/lualine.nix
|
||||
./plugins/ui/dashboard.nix
|
||||
|
||||
# LSP
|
||||
./plugins/lsp/lsp.nix
|
||||
|
|
|
|||
|
|
@ -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