From 61559cd373773e99efa1c387b8d1e6a917b03005 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Wed, 26 Jul 2023 19:58:20 +0930 Subject: [PATCH] Update nvim dashboard --- .config/nvim/lua/config/dashboard.lua | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.config/nvim/lua/config/dashboard.lua b/.config/nvim/lua/config/dashboard.lua index bb93b5c..6ddc13f 100644 --- a/.config/nvim/lua/config/dashboard.lua +++ b/.config/nvim/lua/config/dashboard.lua @@ -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', + }, }, }, })