diff options
| author | Philippe Richard <[email protected]> | 2022-10-02 23:48:23 -0400 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-02 23:48:23 -0400 | 
| commit | 8767a17b5e6087153494a5cd30e5ae0c5165c9af (patch) | |
| tree | 40f57839009330a85471662acf12f87f6e46017d /lua/lvim/core/alpha/dashboard.lua | |
| parent | 228658b02e083d0294b737b39275f3b62c007b94 (diff) | |
feat: move icons to a single icons file (#3115)
Diffstat (limited to 'lua/lvim/core/alpha/dashboard.lua')
| -rw-r--r-- | lua/lvim/core/alpha/dashboard.lua | 16 | 
1 files changed, 10 insertions, 6 deletions
| diff --git a/lua/lvim/core/alpha/dashboard.lua b/lua/lvim/core/alpha/dashboard.lua index debf88a7..5e73206f 100644 --- a/lua/lvim/core/alpha/dashboard.lua +++ b/lua/lvim/core/alpha/dashboard.lua @@ -113,12 +113,16 @@ function M.get_sections()      end      buttons = {        val = { -        button("f", "  Find File", "<CMD>Telescope find_files<CR>"), -        button("n", "  New File", "<CMD>ene!<CR>"), -        button("p", "  Projects ", "<CMD>Telescope projects<CR>"), -        button("r", "  Recent files", ":Telescope oldfiles <CR>"), -        button("t", "  Find Text", "<CMD>Telescope live_grep<CR>"), -        button("c", "  Configuration", "<CMD>edit " .. require("lvim.config"):get_user_config_path() .. " <CR>"), +        button("f", lvim.icons.ui.FindFile .. "  Find File", "<CMD>Telescope find_files<CR>"), +        button("n", lvim.icons.ui.NewFile .. "  New File", "<CMD>ene!<CR>"), +        button("p", lvim.icons.ui.Project .. "  Projects ", "<CMD>Telescope projects<CR>"), +        button("r", lvim.icons.ui.History .. "  Recent files", ":Telescope oldfiles <CR>"), +        button("t", lvim.icons.ui.FindText .. "  Find Text", "<CMD>Telescope live_grep<CR>"), +        button( +          "c", +          lvim.icons.ui.Gear .. "  Configuration", +          "<CMD>edit " .. require("lvim.config"):get_user_config_path() .. " <CR>" +        ),        },      }    end | 
