From 0c75bc624c727078d50499e9f0008cfb322c4fe1 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 14 Aug 2024 20:05:47 +0200 Subject: [PATCH] Update .config/nvim/lua/plugins/alpha.lua --- dot_config/nvim/lua/plugins/alpha.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_config/nvim/lua/plugins/alpha.lua b/dot_config/nvim/lua/plugins/alpha.lua index add6154..0cc33f6 100644 --- a/dot_config/nvim/lua/plugins/alpha.lua +++ b/dot_config/nvim/lua/plugins/alpha.lua @@ -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 startinsert "), + dashboard.button("f", "󰈞 Find file", ":Telescope find_files "), + dashboard.button("p", " Open project", ":Telescope projects"), + } alpha.setup(dashboard.opts) end };