feat(ui): dashboard files searches git files if in git repo (#2240)

just like `<leader>ff` keymap for telescope
This commit is contained in:
Pedro Cattori 2024-03-07 06:11:26 -05:00 committed by GitHub
parent cae22baf08
commit 66b3c0a19f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -373,7 +373,7 @@ return {
header = vim.split(logo, "\n"),
-- stylua: ignore
center = {
{ action = "Telescope find_files", desc = " Find file", icon = "", key = "f" },
{ action = Util.telescope("files"), desc = " Find file", icon = "", key = "f" },
{ action = "ene | startinsert", desc = " New file", icon = "", key = "n" },
{ action = "Telescope oldfiles", desc = " Recent files", icon = "", key = "r" },
{ action = "Telescope live_grep", desc = " Find text", icon = "", key = "g" },