added dashboard plugin
This commit is contained in:
parent
0653f59e24
commit
21808665a4
1 changed files with 32 additions and 0 deletions
32
nvim/.config/nvim/lua/plugin/dashboard.lua
Normal file
32
nvim/.config/nvim/lua/plugin/dashboard.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
return {
|
||||
{
|
||||
'glepnir/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
theme = 'hyper',
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
shortcut = {
|
||||
{ icon = ' ', desc = 'Update', group = '@property', action = 'Lazy update', key = 'U' },
|
||||
{ icon = ' ', desc = 'Files', group = '@property', action = 'Telescope find_files', key = 'ff' },
|
||||
},
|
||||
-- disable_move = true,
|
||||
footer = { '',
|
||||
'Now better then ever ',
|
||||
},
|
||||
},
|
||||
hide = {
|
||||
statusline,
|
||||
tabline,
|
||||
winbar,
|
||||
},
|
||||
preview = {
|
||||
},
|
||||
}
|
||||
end,
|
||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue