Browse Source

Update nvim dashboard

master
parent
commit
61559cd373
1 changed files with 15 additions and 6 deletions
  1. +15
    -6
      .config/nvim/lua/config/dashboard.lua

+ 15
- 6
.config/nvim/lua/config/dashboard.lua View File

@ -5,23 +5,32 @@ require('dashboard').setup({
enable = true,
},
shortcut = {
{
icon = '',
desc = 'New',
action = 'enew',
key = 'e',
},
{
icon = '',
desc = 'Update',
group = '@property',
action = 'PackerSync',
key = 'u',
},
{
icon = ' ',
icon = '🗍 ',
icon_hl = '@variable',
desc = 'Files',
group = 'Label',
action = function ()
require('config.telescope').files()
end,
action = 'Telescope find_files',
key = 'f',
},
{
icon = '',
icon_hl = '@variable',
desc = 'Git Files',
action = 'Telescope git_files',
key = 'g',
},
},
},
})

Loading…
Cancel
Save