diff --git a/after/plugin/dashboard.lua b/after/plugin/dashboard.lua new file mode 100644 index 0000000..3fd3d68 --- /dev/null +++ b/after/plugin/dashboard.lua @@ -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." + } + } +}) diff --git a/lua/taken/packer.lua b/lua/taken/packer.lua index 9472358..9e1a330 100644 --- a/lua/taken/packer.lua +++ b/lua/taken/packer.lua @@ -106,6 +106,11 @@ return packer.startup({ use("lewis6991/gitsigns.nvim") use("f-person/git-blame.nvim") -- useful plugins + use { + 'glepnir/dashboard-nvim', + event = 'VimEnter', + requires = {'nvim-tree/nvim-web-devicons'} + } use({ "nvim-neorg/neorg", run = ":Neorg sync-parsers",