Added dashboard lua and config file for it
This commit is contained in:
37
after/plugin/dashboard.lua
Normal file
37
after/plugin/dashboard.lua
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
local staus, db = pcall(require, "dashboard")
|
||||||
|
if not staus then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
db.setup({
|
||||||
|
theme = "doom",
|
||||||
|
config = {
|
||||||
|
header = {
|
||||||
|
[[ ]],
|
||||||
|
[[ ================= =============== =============== ======== ======== ]],
|
||||||
|
[[ \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . // ]],
|
||||||
|
[[ ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .|| ]],
|
||||||
|
[[ || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . || ]],
|
||||||
|
[[ ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .|| ]],
|
||||||
|
[[ || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . || ]],
|
||||||
|
[[ ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .|| ]],
|
||||||
|
[[ || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . || ]],
|
||||||
|
[[ ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.|| ]],
|
||||||
|
[[ || ||_-' || || `-_|| || || ||_-' || || | \ / | `|| ]],
|
||||||
|
[[ || `' || || `' || || `' || || | \ / | || ]],
|
||||||
|
[[ || .===' `===. .==='.`===. .===' /==. | \/ | || ]],
|
||||||
|
[[ || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | || ]],
|
||||||
|
[[ || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | || ]],
|
||||||
|
[[ || .==' _-' `-__\._-' `-_./__-' `' |. /| | || ]],
|
||||||
|
[[ ||.==' _-' `' | /==.|| ]],
|
||||||
|
[[ ==' _-' \/ `== ]],
|
||||||
|
[[ \ _-' `-_ / ]],
|
||||||
|
[[ `'' ``' ]],
|
||||||
|
[[ ]],
|
||||||
|
[[ [ TIP: To exit Neovim, just power off your computer. ] ]],
|
||||||
|
},
|
||||||
|
footer = {
|
||||||
|
"The one true text editor."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -106,6 +106,11 @@ return packer.startup({
|
|||||||
use("lewis6991/gitsigns.nvim")
|
use("lewis6991/gitsigns.nvim")
|
||||||
use("f-person/git-blame.nvim")
|
use("f-person/git-blame.nvim")
|
||||||
-- useful plugins
|
-- useful plugins
|
||||||
|
use {
|
||||||
|
'glepnir/dashboard-nvim',
|
||||||
|
event = 'VimEnter',
|
||||||
|
requires = {'nvim-tree/nvim-web-devicons'}
|
||||||
|
}
|
||||||
use({
|
use({
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
run = ":Neorg sync-parsers",
|
run = ":Neorg sync-parsers",
|
||||||
|
|||||||
Reference in New Issue
Block a user