return { 'persistence.nvim', event = 'BufReadPre', keys = { { 'qs', function() require('persistence').load() end, desc = 'Restore session', }, { 'qS', function() require('persistence').select() end, desc = 'Select session', }, { 'ql', function() require('persistence').load({ last = true }) end, desc = 'Restore last session', }, { 'qd', function() require('persistence').stop() end, desc = "Don't save current session", }, }, after = function() require('persistence').setup({}) end, }