Skip to content

Commit

Permalink
feat(alpha): added shortcut to restore session
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 6, 2023
1 parent ba048a4 commit 62dc892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazyvim/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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>"),
}
Expand Down

0 comments on commit 62dc892

Please sign in to comment.