From a1942c5a97e5964cc433241a07613c727545fff3 Mon Sep 17 00:00:00 2001 From: Dario48true Date: Thu, 2 Nov 2023 22:11:56 +0100 Subject: [PATCH] added dashboard-nvim --- lua/Dario48/plugins/dashboard.back | 9 ++++++ lua/Dario48/plugins/dashboard.lua | 47 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 lua/Dario48/plugins/dashboard.back create mode 100644 lua/Dario48/plugins/dashboard.lua diff --git a/lua/Dario48/plugins/dashboard.back b/lua/Dario48/plugins/dashboard.back new file mode 100644 index 0000000..df8b145 --- /dev/null +++ b/lua/Dario48/plugins/dashboard.back @@ -0,0 +1,9 @@ +[[__/\\\\\_____/\\\__/\\\\\\\\\\\\\\\_______/\\\\\_______/\\\________/\\\__/\\\\\\\\\\\__/\\\\____________/\\\\_________]], + [[__\/\\\\\\___\/\\\_\/\\\///////////______/\\\///\\\____\/\\\_______\/\\\_\/////\\\///__\/\\\\\\________/\\\\\\________]], + [[___\/\\\/\\\__\/\\\_\/\\\_______________/\\\/__\///\\\__\//\\\______/\\\______\/\\\_____\/\\\//\\\____/\\\//\\\_______]], + [[____\/\\\//\\\_\/\\\_\/\\\\\\\\\\\______/\\\______\//\\\__\//\\\____/\\\_______\/\\\_____\/\\\\///\\\/\\\/_\/\\\______]], + [[_____\/\\\\//\\\\/\\\_\/\\\///////______\/\\\_______\/\\\___\//\\\__/\\\________\/\\\_____\/\\\__\///\\\/___\/\\\_____]], + [[______\/\\\_\//\\\/\\\_\/\\\_____________\//\\\______/\\\_____\//\\\/\\\_________\/\\\_____\/\\\____\///_____\/\\\____]], + [[_______\/\\\__\//\\\\\\_\/\\\______________\///\\\__/\\\________\//\\\\\__________\/\\\_____\/\\\_____________\/\\\___]], + [[________\/\\\___\//\\\\\_\/\\\\\\\\\\\\\\\____\///\\\\\/__________\//\\\________/\\\\\\\\\\\_\/\\\_____________\/\\\__]], + [[_________\///_____\/////__\///////////////_______\/////_____________\///________\///////////__\///______________\///__]], diff --git a/lua/Dario48/plugins/dashboard.lua b/lua/Dario48/plugins/dashboard.lua new file mode 100644 index 0000000..48cec41 --- /dev/null +++ b/lua/Dario48/plugins/dashboard.lua @@ -0,0 +1,47 @@ +return { + { + 'nvimdev/dashboard-nvim', + event = 'VimEnter', + config = function() + require('dashboard').setup { + theme = 'doom', + config = { + header = { + '\x1b[38;2;07;8D;70m__/\\\\\\\\\\_____/\\\\\\__/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\_______/\\\\\\\\\\_______/\\\\\\________/\\\\\\__/\\\\\\\\\\\\\\\\\\\\\\__/\\\\\\\\____________/\\\\\\\\_________', + '__\\/\\\\\\\\\\\\___\\/\\\\\\_\\/\\\\\\///////////______/\\\\\\///\\\\\\____\\/\\\\\\_______\\/\\\\\\_\\/////\\\\\\///__\\/\\\\\\\\\\\\________/\\\\\\\\\\\\________', + '___\\/\\\\\\/\\\\\\__\\/\\\\\\_\\/\\\\\\_______________/\\\\\\/__\\///\\\\\\__\\//\\\\\\______/\\\\\\______\\/\\\\\\_____\\/\\\\\\//\\\\\\____/\\\\\\//\\\\\\_______', + '____\\/\\\\\\//\\\\\\_\\/\\\\\\_\\/\\\\\\\\\\\\\\\\\\\\\\______/\\\\\\______\\//\\\\\\__\\//\\\\\\____/\\\\\\_______\\/\\\\\\_____\\/\\\\\\\\///\\\\\\/\\\\\\/_\\/\\\\\\______', + '_____\\/\\\\\\\\//\\\\\\\\/\\\\\\_\\/\\\\\\///////______\\/\\\\\\_______\\/\\\\\\___\\//\\\\\\__/\\\\\\________\\/\\\\\\_____\\/\\\\\\__\\///\\\\\\/___\\/\\\\\\_____', + '______\\/\\\\\\_\\//\\\\\\/\\\\\\_\\/\\\\\\_____________\\//\\\\\\______/\\\\\\_____\\//\\\\\\/\\\\\\_________\\/\\\\\\_____\\/\\\\\\____\\///_____\\/\\\\\\____', + '_______\\/\\\\\\__\\//\\\\\\\\\\\\_\\/\\\\\\______________\\///\\\\\\__/\\\\\\________\\//\\\\\\\\\\__________\\/\\\\\\_____\\/\\\\\\_____________\\/\\\\\\___', + '________\\/\\\\\\___\\//\\\\\\\\\\_\\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\____\\///\\\\\\\\\\/__________\\//\\\\\\________/\\\\\\\\\\\\\\\\\\\\\\_\\/\\\\\\_____________\\/\\\\\\__', + '_________\\///_____\\/////__\\///////////////_______\\/////_____________\\///________\\///////////__\\///______________\\///__', + }, --your header + center = { + { + icon = ' ', + icon_hl = 'Title', + desc = 'Find File ', + desc_hl = 'String', + key = 'b', + keymap = 'SPC f f', + key_hl = 'Number', + key_format = ' %s', -- remove default surrounding `[]` + action = 'lua print(2)' + }, + { + icon = ' ', + desc = 'Find Dotfiles', + key = 'f', + keymap = 'SPC f d', + key_format = ' %s', -- remove default surrounding `[]` + action = 'lua print(3)' + }, + }, + footer = {} --your footer + } + } + end, + dependencies = { {'nvim-tree/nvim-web-devicons'}} + } +}