Files
dotfiles/nvim/after/plugin/alpha.lua
2022-08-10 11:03:55 +02:00

36 lines
1.3 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- alpha-nvim https://github.com/goolord/alpha-nvim
local status_ok, alpha = pcall(require, "alpha")
if not status_ok then
return
end
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = {
[[🟨🟨🟨🟨🟨🟨🟨🟨]],
[[🟨🟨🟨🟨🟨🟨🟨🟨]],
[[🟨🟨🟨 🐍 🟨🟨🟨]],
[[🟨🟨🌿🌿🌿🌿🟨🟨]],
[[🟨🟨🟨🟨🟨🟨🟨🟨]],
[[DONT TREAD ON ME]],
}
dashboard.section.buttons.val = {
dashboard.button("f", " Find Files", ":FzfLua files<CR>"),
dashboard.button("e", " New File", ":ene <BAR> startinsert<CR>"),
dashboard.button("p", " Find Project", ":Telescope projects<CR>"),
dashboard.button("r", " Recently Used Files", ":FzfLua oldfiles<CR>"),
dashboard.button("t", " Find Text", ":FzfLua live_grep<CR>"),
dashboard.button("b", " Browser Bookmarks", ":Telescope bookmarks<CR>"),
dashboard.button("c", " Configuration", ":e ~/.config/nvim/init.lua<CR>"),
dashboard.button("u", " Update Plugins", ":PackerUpdate<CR>"),
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
}
dashboard.section.footer.opts.hl = "Type"
dashboard.section.header.opts.hl = "Include"
dashboard.section.buttons.opts.hl = "Keyword"
dashboard.opts.opts.noautocmd = true
alpha.setup(dashboard.opts)