feat(alpha): added shortcut to restore session

This commit is contained in:
Folke Lemaitre 2023-01-06 21:43:05 +01:00
parent ba048a4b9f
commit 62dc892d8e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -297,6 +297,7 @@ return {
dashboard.button("r", "" .. " Recent files", ":Telescope oldfiles <CR>"),
dashboard.button("g", "" .. " Find text", ":Telescope live_grep <CR>"),
dashboard.button("c", "" .. " Config", ":e $MYVIMRC <CR>"),
dashboard.button("s", "" .. " Restore Session", [[:lua require("persistence").load() <cr>]]),
dashboard.button("l", "" .. " Lazy", ":Lazy<CR>"),
dashboard.button("q", "" .. " Quit", ":qa<CR>"),
}