From 8291b15599e30141c99c6b5bcb677241f8bbe455 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 7 Aug 2022 00:01:23 +0800 Subject: remove alpha-nvim, use dashboard-nvim --- lua/config/alpha-nvim.lua | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 lua/config/alpha-nvim.lua (limited to 'lua/config/alpha-nvim.lua') diff --git a/lua/config/alpha-nvim.lua b/lua/config/alpha-nvim.lua deleted file mode 100644 index 521bce9..0000000 --- a/lua/config/alpha-nvim.lua +++ /dev/null @@ -1,32 +0,0 @@ -local alpha = require("alpha") -local dashboard = require("alpha.themes.dashboard") - --- Set header -dashboard.section.header.val = { - " ", - " ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ", - " ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ", - " ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ", - " ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ", - " ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ", - " ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ", - " ", -} - --- Set menu -dashboard.section.buttons.val = { - dashboard.button( "Leader f f", " > Find file", ":Leaderf file --popup"), - dashboard.button( "Leader f r", " > Recent files" , ":Leaderf mru --popup"), - dashboard.button( "Leader f g", " > Project grep" , ":Leaderf rg --popup"), - dashboard.button( "u", " > Update plugins" , ":PackerSync"), - dashboard.button( "e", " > New file" , ":enew "), - dashboard.button( "q", " > Quit NVIM", ":qa"), -} - -local fortune = require("alpha.fortune") -dashboard.section.footer.val = fortune() - -alpha.setup(dashboard.opts) - --- Send config to alpha -alpha.setup(dashboard.opts) -- cgit v1.2.3