summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/persistence.fnl
blob: 0b4e7a8cae10421a9109d0f3662088d85670a33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;; Session manager.

{1 :folke/persistence.nvim
 :event :VeryLazy
 :keys [{1 :<leader>sn 2 :<cmd>RestoreSession<cr> :desc "Restore session"}
        {1 :<leader>se
         2 :<cmd>RestoreLastSession<cr>
         :desc "Restore last session"}
        {1 :<leader>si
         2 :<cmd>IgnoreSession<cr>
         :desc "Ignore current session"}]
 :opts {:options [:buffers :curdir :tabpages :winsize :help]}}