diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-17 00:08:43 +0100 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-17 00:08:43 +0100 |
| commit | a48ba3f7dfe35c7ca622e63a72574134788d68c7 (patch) | |
| tree | 0675dc0f5e950c8739b63da29568d083e9c1d057 /fnl/plugins/editor/persistence.fnl | |
| parent | 10b175f252104458d7478d8a2822818850cfdf92 (diff) | |
Update key mappings
Diffstat (limited to 'fnl/plugins/editor/persistence.fnl')
| -rw-r--r-- | fnl/plugins/editor/persistence.fnl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fnl/plugins/editor/persistence.fnl b/fnl/plugins/editor/persistence.fnl index 4cde73e..0b4e7a8 100644 --- a/fnl/plugins/editor/persistence.fnl +++ b/fnl/plugins/editor/persistence.fnl @@ -2,4 +2,11 @@ {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]}} |