33 lines
1.8 KiB
Lua
33 lines
1.8 KiB
Lua
return {
|
|
'goolord/alpha-nvim',
|
|
dependencies = {
|
|
'echasnovski/mini.icons',
|
|
'nvim-lua/plenary.nvim',
|
|
"nvim-telescope/telescope.nvim"
|
|
},
|
|
config = function ()
|
|
local alpha = require("alpha")
|
|
local dashboard = require("alpha.themes.dashboard")
|
|
|
|
dashboard.section.header.val = {
|
|
" ",
|
|
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
|
|
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
|
|
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
|
|
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
|
|
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
|
|
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
|
|
" ",
|
|
}
|
|
dashboard.section.header.opts.hl = "Red"
|
|
dashboard.section.buttons.val = {
|
|
dashboard.button( "e", " > New file" , ":ene <BAR> startinsert <CR>"),
|
|
dashboard.button( "f", " > Find file", ":cd $HOME | Telescope find_files<CR>"),
|
|
dashboard.button( "r", " > Recent" , ":Telescope oldfiles<CR>"),
|
|
dashboard.button( "s", " > Settings" , ":e $MYVIMRC | :cd %:p:h<CR>"),
|
|
dashboard.button( "q", " > Quit NVIM", ":qa<CR>"),
|
|
}
|
|
alpha.setup(dashboard.opts)
|
|
end
|
|
}
|