return { "glepnir/dashboard-nvim", config = function() local db = require('dashboard') local version = vim.version() db.custom_header = { ' ▄█ █ █▄ ', ' ▐██ ▄█ ███ █▄ ██▌ ', ' ▐██▌ ██████████████ ▐██▌ ', ' ████ ████████████████ ████ ', ' ▐█████ ██████████████████ █████▌ ', ' ████████████████████████████████ ', ' ███████▀▀████████████▀▀███████ ', ' █████▌ ▄▄ ▀████▀ ▄▄ ▐█████ ', ' ▄▄██████▄ ▀▀ ████ ▀▀ ▄██████▄▄ ', ' ██████████████████████████████████ ', ' ████████████████████████████████████ ', ' ██████ ███████▀▄██▄▀███████ ██████▌ ', '▐█████ ██████████████████ █████▌ ', ' ▐█████ ██████▀ ▀██████ █████▌ ', ' █████▄ ███ ███ ▄█████ ', ' ██████ █ █ ██████ ', ' █████ █████ ', ' █████ █████ ', ' ████ ▄ ▄ ████ ', ' ████ ██ ██ ████ ', ' ████████ ▄██▄ ████████ ', ' ████████████████████████ ', ' ████████████████████████ ', ' ▀█████████▀▀█████████▀ ', ' ▀███▀ ▀███▀ ', } -- db.custom_header = { -- '', -- '⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⠛⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠀⠀⠀⠀⢰⣶⣶⣶⠀⣶⣶⣶⣶⠀⢰⣶⣶⣶⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⠀⣿⣿⣿⣿⠀⢸⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⢠⣤⣤⣤⠀⢠⣤⣤⣤⠀⣤⣤⣤⣤⠀⢠⣤⣤⣤⠀⣰⣿⣿⣦⡀⠀⠀⠀⠀', -- '⠀⢸⣿⣿⣿⠀⢸⣿⣿⣿⠀⣿⣿⣿⣿⠀⢸⣿⣿⣿⠀⣿⣿⠹⣿⣷⣀⠀⠀⠀', -- '⠀⠘⠛⠛⠛⠀⠘⠛⠛⠛⠀⠛⠛⠛⠛⠀⠘⠛⠛⠛⢀⣿⣿⡀⠙⠿⠿⣿⣶⣆', -- '⣴⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣶⣿⣿⣿⠟⢁⣤⣴⣶⣾⡿⠋', -- '⣿⣿⣿⣛⣛⣛⣛⣿⣟⣛⣛⣻⣿⣟⣛⣛⣻⣿⣟⣋⣉⣠⣤⣾⣿⣟⣻⣍⠀⠀', -- '⢹⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⠋⠀⠀⠀⠀⠀', -- '⠈⢻⣿⣿⣿⡿⠿⠿⠿⠛⠉⠀⠀⠀⠀⠀⢀⣠⣴⣿⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠙⢿⣿⣿⣶⣦⣤⣤⣤⣤⣤⣴⣶⣿⣿⣿⣿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀', -- '⠀⠀⠀⠀⠈⠙⠛⠛⠿⠿⠿⠿⠿⠛⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀', -- '', -- } -- db.custom_header = { -- " :h- Nhy` ", -- " -mh. h. `Ndho ", -- " hmh+ oNm. oNdhh ", -- " `Nmhd` /NNmd /NNhhd ", -- " -NNhhy `hMNmmm`+NNdhhh ", -- " .NNmhhs ```....`..-:/./mNdhhh+ ", -- " mNNdhhh- `.-::///+++////++//:--.`-/sd` ", -- " oNNNdhhdo..://++//++++++/+++//++///++/-.` ", -- " y. `mNNNmhhhdy+/++++//+/////++//+++///++////-` `/oos: ", -- " . Nmy: :NNNNmhhhhdy+/++/+++///:.....--:////+++///:.`:s+ ", -- " h- dNmNmy oNNNNNdhhhhy:/+/+++/- ---:/+++//++//.` ", -- " hd+` -NNNy`./dNNNNNhhhh+-:///// -+oo:` ::-:+////++///:` ", -- " /Nmhs+oss-:++/dNNNmhho:--::/// /mmmmmo ../-///++///////. ", -- " oNNdhhhhhhhs//osso/:---:::/// /yyyyso ..o+-//////////:/. ", -- " /mNNNmdhhhh/://+///:::////// -:::- ..+sy+:////////::/:/. ", -- " /hNNNdhhs--:/+++////++/////. ..-/yhhs-/////////::/::/` ", -- " .ooo+/-::::/+///////++++//-/ossyyhhhhs/:///////:::/::::/: ", -- " -///:::::::////++///+++/////:/+ooo+/::///////.::://::---+` ", -- " /////+//++++/////+////-..//////////::-:::--`.:///:---:::/: ", -- " //+++//++++++////+++///::-- .::::-------:: ", -- " :/++++///////////++++//////. -:/:----::../- ", -- " -/++++//++///+////////////// .::::---:::-.+` ", -- " `////////////////////////////:. --::-----...-/ ", -- " -///://////////////////////::::-.. :-:-:-..-::.`.+` ", -- " :/://///:///::://::://::::::/:::::::-:---::-.-....``/- - ", -- " ::::://::://::::::::::::::----------..-:....`.../- -+oo/ ", -- " -/:::-:::::---://:-::-::::----::---.-.......`-/. ``", -- " s-`::--:::------:////----:---.-:::...-.....`./: ", -- " yMNy.`::-.--::..-dmmhhhs-..-.-.......`.....-/:` ", -- " oMNNNh. `-::--...:NNNdhhh/.--.`..``.......:/- ", -- " :dy+:` .-::-..NNNhhd+``..`...````.-::-` ", -- " .-:mNdhh:.......--::::-` ", -- " yNh/..------..` ", -- " ", -- "N E O V I M - v " .. version.major .. "." .. version.minor, -- } -- db.custom_header = { -- '', -- ' ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣭⣿⣶⣿⣦⣼⣆ ', -- ' ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ', -- ' ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷⠄⠄⠄⠄⠻⠿⢿⣿⣧⣄ ', -- ' ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ', -- ' ⢠⣿⣿⣿⠈ ⠡⠌⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ', -- ' ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘⠄ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ', -- ' ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ', -- ' ⣠⣿⠿⠛⠄⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ', -- ' ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇⠄⠛⠻⢷⣄ ', -- ' ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ', -- ' ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ', -- ' ⢰⣶ ⣶ ⢶⣆⢀⣶⠂⣶⡶⠶⣦⡄⢰⣶⠶⢶⣦ ⣴⣶ ', -- ' ⢸⣿⠶⠶⣿ ⠈⢻⣿⠁ ⣿⡇ ⢸⣿⢸⣿⢶⣾⠏ ⣸⣟⣹⣧ ', -- ' ⠸⠿ ⠿ ⠸⠿ ⠿⠷⠶⠿⠃⠸⠿⠄⠙⠷⠤⠿⠉⠉⠿⠆ ', -- '', -- } -- db.custom_header = { -- [[ ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣭⣿⣶⣿⣦⣼⣆ ]], -- [[ ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ]], -- [[ ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷⠄⠄⠄⠄⠻⠿⢿⣿⣧⣄ ]], -- [[ ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ]], -- [[ ⢠⣿⣿⣿⠈ ⠡⠌⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ]], -- [[ ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘⠄ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ]], -- [[ ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ]], -- [[ ⣠⣿⠿⠛⠄⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ]], -- [[ ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇⠄⠛⠻⢷⣄ ]], -- [[ ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ]], -- [[ ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ]], -- [[ ⢰⣶ ⣶ ⢶⣆⢀⣶⠂⣶⡶⠶⣦⡄⢰⣶⠶⢶⣦ ⣴⣶ ]], -- [[ ⢸⣿⠶⠶⣿ ⠈⢻⣿⠁ ⣿⡇ ⢸⣿⢸⣿⢶⣾⠏ ⣸⣟⣹⣧ ]], -- [[ ⠸⠿ ⠿ ⠸⠿ ⠿⠷⠶⠿⠃⠸⠿⠄⠙⠷⠤⠿⠉⠉⠿⠆ ]], -- } -- vim.g.dashboard_default_executive = 'telescope' -- vim.g.dashboard_custom_header = { -- [[ ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣭⣿⣶⣿⣦⣼⣆ ]], -- [[ ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ]], -- [[ ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷⠄⠄⠄⠄⠻⠿⢿⣿⣧⣄ ]], -- [[ ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ]], -- [[ ⢠⣿⣿⣿⠈ ⠡⠌⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ]], -- [[ ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘⠄ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ]], -- [[ ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ]], -- [[ ⣠⣿⠿⠛⠄⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ]], -- [[ ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇⠄⠛⠻⢷⣄ ]], -- [[ ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ]], -- [[ ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ]], -- [[ ⢰⣶ ⣶ ⢶⣆⢀⣶⠂⣶⡶⠶⣦⡄⢰⣶⠶⢶⣦ ⣴⣶ ]], -- [[ ⢸⣿⠶⠶⣿ ⠈⢻⣿⠁ ⣿⡇ ⢸⣿⢸⣿⢶⣾⠏ ⣸⣟⣹⣧ ]], -- [[ ⠸⠿ ⠿ ⠸⠿ ⠿⠷⠶⠿⠃⠸⠿⠄⠙⠷⠤⠿⠉⠉⠿⠆ ]], -- } -- -- vim.g.dashboard_custom_section = { -- a = {description = {' Find File '}, command = 'Telescope find_files'}, -- d = {description = {' Search Text '}, command = 'Telescope live_grep'}, -- c = {description = {' New File '}, command = 'DashboardNewFile'}, -- b = {description = {' Recent Files '}, command = 'Telescope oldfiles'}, -- -- e = {description = {' Config '}, command = 'edit ~/.config/nvim/init.lua'}, -- } -- vim.g.dashboard_custom_footer = {'Do one thing, do it well - Unix Philosophy'} local icon_color = "Function" db.custom_center = { { desc = "Find File ", shortcut = "f", icon = " ", icon_hl = { link = icon_color }, action = "Telescope find_files", }, { desc = "Recents ", shortcut = "r", icon = " ", icon_hl = { link = icon_color }, action = "Telescope oldfiles", }, { desc = "Browse Files ", shortcut = ".", icon = " ", icon_hl = { link = icon_color }, action = "Telescope file_browser" }, -- { shortcut = "fg", icon = " ", desc = "Find Word", action = "Telescope live_grep" }, { desc = "New File ", shortcut = "n", icon = " ", icon_hl = { link = icon_color }, action = "DashboardNewFile", }, -- { shortcut = "fm", icon = " ", desc = "Bookmark", action = "Telescope marks" }, { desc = "Load Last Session ", shortcut = "L", icon = " ", icon_hl = { link = icon_color }, action = "SessionLoad", }, { desc = "Update Plugins ", shortcut = "u", icon = " ", icon_hl = { link = icon_color }, action = "PackerUpdate", }, { desc = "Setting ", shortcut = "s", icon = " ", icon_hl = { link = icon_color }, action = "edit $MYVIMRC", }, { desc = "Exit ", shortcut = "q", icon = " ", icon_hl = { link = icon_color }, action = "exit", }, } db.custom_footer = { "type :help or for on-line help" } vim.api.nvim_create_autocmd('Filetype', { pattern = 'dashboard', group = vim.api.nvim_create_augroup('Dashboard_au', { clear = true }), callback = function() vim.cmd [[ hi! link DashboardFooter NonText setlocal buftype=nofile setlocal nonumber norelativenumber nocursorline noruler nnoremap f Telescope find_files nnoremap r Telescope oldfiles nnoremap . Telescope file_browser nnoremap n DashboardNewFile nnoremap en DashboardNewFile nnoremap L SessionLoad nnoremap u PackerUpdate nnoremap s edit $MYVIMRC nnoremap q exit ]] end }) end }