✨ added dashboard
This commit is contained in:
@@ -0,0 +1,47 @@
|
|||||||
|
local header = {
|
||||||
|
[[]],
|
||||||
|
[[]],
|
||||||
|
[[]],
|
||||||
|
[[ ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗]],
|
||||||
|
[[ ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║]],
|
||||||
|
[[ ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║]],
|
||||||
|
[[ ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║]],
|
||||||
|
[[ ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║]],
|
||||||
|
[[ ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝]],
|
||||||
|
[[]],
|
||||||
|
[[]],
|
||||||
|
[[]],
|
||||||
|
}
|
||||||
|
|
||||||
|
local footer = {
|
||||||
|
[[]],
|
||||||
|
[[]],
|
||||||
|
'Don\'t know how to exit? Refer to the link below.',
|
||||||
|
'https://stackoverflow.com/questions/11828270/how-do-i-exit-vim',
|
||||||
|
}
|
||||||
|
|
||||||
|
local options = {
|
||||||
|
theme = 'hyper',
|
||||||
|
disable_move = false,
|
||||||
|
shortcut_type = 'letter',
|
||||||
|
shuffle_letter = true,
|
||||||
|
change_to_vcs_root = false,
|
||||||
|
config = {
|
||||||
|
header = header,
|
||||||
|
shortcut = {
|
||||||
|
{
|
||||||
|
desc = "😎 Skill Issue.",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
footer = footer,
|
||||||
|
},
|
||||||
|
hide = {
|
||||||
|
statusline = true,
|
||||||
|
tabline = true,
|
||||||
|
winbar = true,
|
||||||
|
},
|
||||||
|
preview = {
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
require("dashboard").setup(options)
|
||||||
@@ -103,9 +103,7 @@ return {
|
|||||||
'nvimdev/dashboard-nvim',
|
'nvimdev/dashboard-nvim',
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
config = function()
|
config = function()
|
||||||
require('dashboard').setup {
|
require "configs.dashboard"
|
||||||
-- config
|
|
||||||
}
|
|
||||||
end,
|
end,
|
||||||
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user