✨ feat(nvim): added custom persistence.nvim keymaps
now using persistence instead of persisted
This commit is contained in:
parent
6edb49dfac
commit
c1b5fd61b4
2 changed files with 6 additions and 3 deletions
|
@ -72,7 +72,6 @@
|
|||
"plugins.extras.util.kitty-scrollback",
|
||||
"plugins.extras.util.mason-lock",
|
||||
"plugins.extras.util.neovide",
|
||||
"plugins.extras.util.persisted",
|
||||
"plugins.extras.util.persistence-extended",
|
||||
"plugins.extras.util.smart-splits",
|
||||
"plugins.extras.util.vscode",
|
||||
|
|
|
@ -2,6 +2,11 @@ return {
|
|||
"folke/persistence.nvim",
|
||||
optional = true,
|
||||
keys = {
|
||||
-- stylua: ignore start
|
||||
{ "<leader>ql", function() require("persistence").load() end, desc = "Load Session" },
|
||||
{ "<leader>qs", function() require("persistence").select() end,desc = "Select Session" },
|
||||
{ "<leader>qL", function() require("persistence").load({ last = true }) end, desc = "Restore Last Session" },
|
||||
{ "<leader>qd", function() require("persistence").stop() end, desc = "Don't Save Current Session" },
|
||||
{
|
||||
"<leader>qS",
|
||||
function()
|
||||
|
@ -11,7 +16,6 @@ return {
|
|||
end,
|
||||
desc = "Save Session",
|
||||
},
|
||||
-- stylua: ignore start
|
||||
{
|
||||
"<leader>qt",
|
||||
function()
|
||||
|
@ -27,7 +31,7 @@ return {
|
|||
vim.notify("Started Session Recording", vim.log.levels.INFO, { title = "Persistence" })
|
||||
end
|
||||
end,
|
||||
desc = "Toggle Current Session Recording"
|
||||
desc = "Toggle Recording"
|
||||
},
|
||||
-- stylua: ignore end
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue