mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 01:38:54 +02:00
fix(dashboard): config shortcut when opening dashboard again. Fixes #1768
This commit is contained in:
parent
1d4fbd3b2e
commit
5c1656729a
1 changed files with 9 additions and 9 deletions
|
@ -371,15 +371,15 @@ return {
|
||||||
header = vim.split(logo, "\n"),
|
header = vim.split(logo, "\n"),
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
center = {
|
center = {
|
||||||
{ action = "Telescope find_files", desc = " Find file", icon = " ", key = "f" },
|
{ action = "Telescope find_files", desc = " Find file", icon = " ", key = "f" },
|
||||||
{ action = "ene | startinsert", desc = " New file", icon = " ", key = "n" },
|
{ action = "ene | startinsert", desc = " New file", icon = " ", key = "n" },
|
||||||
{ action = "Telescope oldfiles", desc = " Recent files", icon = " ", key = "r" },
|
{ action = "Telescope oldfiles", desc = " Recent files", icon = " ", key = "r" },
|
||||||
{ action = "Telescope live_grep", desc = " Find text", icon = " ", key = "g" },
|
{ action = "Telescope live_grep", desc = " Find text", icon = " ", key = "g" },
|
||||||
{ action = Util.telescope.config_files(), desc = " Config", icon = " ", key = "c" },
|
{ action = [[lua require("lazyvim.util").telescope.config_files()()]], desc = " Config", icon = " ", key = "c" },
|
||||||
{ action = 'lua require("persistence").load()', desc = " Restore Session", icon = " ", key = "s" },
|
{ action = 'lua require("persistence").load()', desc = " Restore Session", icon = " ", key = "s" },
|
||||||
{ action = "LazyExtras", desc = " Lazy Extras", icon = " ", key = "x" },
|
{ action = "LazyExtras", desc = " Lazy Extras", icon = " ", key = "x" },
|
||||||
{ action = "Lazy", desc = " Lazy", icon = " ", key = "l" },
|
{ action = "Lazy", desc = " Lazy", icon = " ", key = "l" },
|
||||||
{ action = "qa", desc = " Quit", icon = " ", key = "q" },
|
{ action = "qa", desc = " Quit", icon = " ", key = "q" },
|
||||||
},
|
},
|
||||||
footer = function()
|
footer = function()
|
||||||
local stats = require("lazy").stats()
|
local stats = require("lazy").stats()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue