mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-29 12:10:12 +02:00
refactor: LazyVim.pick
This commit is contained in:
parent
1b34b481c8
commit
e29ad4a14e
6 changed files with 144 additions and 96 deletions
|
@ -343,11 +343,11 @@ return {
|
|||
header = vim.split(logo, "\n"),
|
||||
-- stylua: ignore
|
||||
center = {
|
||||
{ action = LazyVim.telescope("files"), desc = " Find File", icon = " ", key = "f" },
|
||||
{ action = LazyVim.pick(), 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" },
|
||||
{ action = [[lua LazyVim.telescope.config_files()()]], desc = " Config", icon = " ", key = "c" },
|
||||
{ action = LazyVim.pick("oldfiles"), desc = " Recent Files", icon = " ", key = "r" },
|
||||
{ action = LazyVim.pick("live_grep"), desc = " Find Text", icon = " ", key = "g" },
|
||||
{ action = LazyVim.pick.config_files(), desc = " Config", icon = " ", key = "c" },
|
||||
{ action = 'lua require("persistence").load()', desc = " Restore Session", icon = " ", key = "s" },
|
||||
{ action = "LazyExtras", desc = " Lazy Extras", icon = " ", key = "x" },
|
||||
{ action = "Lazy", desc = " Lazy", icon = " ", key = "l" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue