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, enable = true,
}, },
shortcut = { shortcut = {
{
icon = '',
desc = 'New',
action = 'enew',
key = 'e',
},
{ {
icon = '', icon = '',
desc = 'Update', desc = 'Update',
group = '@property',
action = 'PackerSync', action = 'PackerSync',
key = 'u', key = 'u',
}, },
{ {
icon = ' ',
icon = '🗍 ',
icon_hl = '@variable', icon_hl = '@variable',
desc = 'Files', desc = 'Files',
group = 'Label',
action = function ()
require('config.telescope').files()
end,
action = 'Telescope find_files',
key = 'f', key = 'f',
}, },
{
icon = '',
icon_hl = '@variable',
desc = 'Git Files',
action = 'Telescope git_files',
key = 'g',
},
}, },
}, },
}) })

Loading…
Cancel
Save