Update .config/nvim/lua/plugins/alpha.lua
This commit is contained in:
parent
f672ae8e2c
commit
0c75bc624c
1 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
return {
|
||||
'goolord/alpha-nvim',
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim"
|
||||
},
|
||||
config = function()
|
||||
local alpha = require 'alpha'
|
||||
local dashboard = require 'alpha.themes.dashboard'
|
||||
|
@ -31,6 +34,11 @@ return {
|
|||
|
||||
dashboard.section.header.opts.hl = 'DashboardHeader'
|
||||
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("p", " Open project", ":Telescope projects<CR>"),
|
||||
}
|
||||
alpha.setup(dashboard.opts)
|
||||
end
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue