mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 21:36:34 +05:30
41 lines
2.7 KiB
Lua
41 lines
2.7 KiB
Lua
-- return {
|
|
-- 'goolord/alpha-nvim',
|
|
-- dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
-- config = function()
|
|
-- require 'alpha'.setup(require 'alpha.themes.startify'.config)
|
|
-- end
|
|
-- }
|
|
|
|
return {
|
|
'goolord/alpha-nvim',
|
|
event = 'VimEnter',
|
|
config = function()
|
|
local dashboard = require 'alpha.themes.dashboard'
|
|
dashboard.section.header.val = {
|
|
"██████████████████████████████████████████████████",
|
|
"█░░░░░░░░░░░░░░█░░░░░░██░░░░░░█░░░░░░░░██░░░░░░░░█",
|
|
"█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░██░░▄▀░░█░░▄▀▄▀░░██░░▄▀▄▀░░█",
|
|
"█░░░░░░▄▀░░░░░░█░░▄▀░░██░░▄▀░░█░░░░▄▀░░██░░▄▀░░░░█",
|
|
"█████░░▄▀░░█████░░▄▀░░██░░▄▀░░███░░░░▄▀▄▀▄▀░░░░███",
|
|
"█████░░▄▀░░█████░░▄▀░░██░░▄▀░░█████░░▄▀▄▀▄▀░░█████",
|
|
"█████░░▄▀░░█████░░▄▀░░██░░▄▀░░███░░░░▄▀▄▀▄▀░░░░███",
|
|
"█████░░▄▀░░█████░░▄▀░░░░░░▄▀░░█░░░░▄▀░░██░░▄▀░░░░█",
|
|
"█████░░▄▀░░█████░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀░░██░░▄▀▄▀░░█",
|
|
"█████░░░░░░█████░░░░░░░░░░░░░░█░░░░░░░░██░░░░░░░░█",
|
|
"██████████████████████████████████████████████████",
|
|
}
|
|
dashboard.section.header.opts = {
|
|
position = 'center',
|
|
hl = 'Comment',
|
|
}
|
|
|
|
require('alpha').setup(require('alpha.themes.dashboard').config)
|
|
dashboard.section.buttons.val = {
|
|
dashboard.button('SPC f f', ' Find File', '<CMD>Telescope find_files<CR>'),
|
|
dashboard.button('SPC f r', ' Recent Files', '<CMD>Telescope oldfiles<CR>'),
|
|
dashboard.button('SPC f t', ' Find in Files', '<CMD>Telescope live_grep<CR>'),
|
|
}
|
|
end,
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
}
|