Merge branch 'main' of ssh://git.aeth3r.rip:3001/Aeth3r/nvim
This commit is contained in:
+3
-2
@@ -1,3 +1,4 @@
|
|||||||
lazy-lock.json
|
#lazy-lock.json
|
||||||
lua/**/*.lua
|
#lua/**/*.lua
|
||||||
|
|
||||||
|
lua/ignoreConfig
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
return {
|
||||||
|
"goolord/alpha-nvim",
|
||||||
|
config = function ()
|
||||||
|
local alpha = require'alpha'
|
||||||
|
--local colours = require 'material.colors'
|
||||||
|
vim.api.nvim_set_hl(0, "alphaheader", {fg = "#3661cf" })
|
||||||
|
--vim.api.nvim_set_hl(0, "alphafooter", {fg = colours.main.darkpurple })
|
||||||
|
local dashboard = require'alpha.themes.dashboard'
|
||||||
|
dashboard.section.header.val = {
|
||||||
|
[[ ░░░░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░▒▓▒░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░░▒██▓░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░▓████▓░░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░▒██████▓░░░░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░▓████████▒░░░░░░░░░░░░░░░░░ ]],
|
||||||
|
[[░░░░░░░░░░░░░░▒███████████▓░░░░░░░░░░░░░░░░░]],
|
||||||
|
[[░░░░░░░░░░░░░▓██████████████▒░░░░░░░░░░░░░░░]],
|
||||||
|
[[░░░░░░░░░░░░▓████████████████▓░░░░░░░░░░░░░░]],
|
||||||
|
[[░░░░░░░░░░░▓███████████████▓▓██▒░░░░░░░░░░░░]],
|
||||||
|
[[░░░░░░░░░░▒████████████████▓░▒██▒░░░░░░░░░░░]],
|
||||||
|
[[░░░░░░░░░░▒███████████████▓▒░░▓█▓░░░░░░░░░░░]],
|
||||||
|
[[ ░░░░░░░░░▒███████████████▓░░░▓█▓▒░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░▓████████████████████▓░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░▒▓██████████████████▓░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░▓████████████████▒░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░▒▓██████████▓▒░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░▒▒░░░░░░░░░░░░ ]],
|
||||||
|
[[ ░░░░░░░░░░░░░░░░░░ ]],
|
||||||
|
}
|
||||||
|
dashboard.section.header.opts.hl = "alphaheader"
|
||||||
|
dashboard.section.buttons.val = {
|
||||||
|
dashboard.button("f", " search file in cwd", ":FzfLua files<cr>"),
|
||||||
|
dashboard.button("g", " GIT", ":LazyGit<cr>"),
|
||||||
|
dashboard.button("-", " explore cwd", ":Oil --float<cr>"),
|
||||||
|
dashboard.button("e", " new file", ":ene <bar> startinsert <cr>"),
|
||||||
|
dashboard.button("t", " change theme", ":FzfLua colorschemes<cr>"),
|
||||||
|
dashboard.button("l", " Lazy settings", ":Lazy<cr>"),
|
||||||
|
dashboard.button("q", " quit nvim", ":qa<cr>"),
|
||||||
|
}
|
||||||
|
local handle = io.popen('fortune')
|
||||||
|
local fortune = handle:read("*a")
|
||||||
|
handle:close()
|
||||||
|
dashboard.section.footer.val = {
|
||||||
|
[["we define the boundaries of reality;]],
|
||||||
|
[[they don't define us."]],
|
||||||
|
[[ -Teferi]]
|
||||||
|
}
|
||||||
|
dashboard.section.footer.opts.hl = "alphafooter"
|
||||||
|
dashboard.config.opts.noautocmd = true
|
||||||
|
|
||||||
|
vim.cmd[[autocmd user alphaready echo 'ready']]
|
||||||
|
|
||||||
|
alpha.setup(dashboard.config)
|
||||||
|
end
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user