From 11eb82bcea1d29a23c7d6bed28f23a86b98cb2a6 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 7 Jan 2023 12:58:00 +0100 Subject: Replace session manager to persistence.nvim --- fnl/config/which-key.fnl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'fnl/config/which-key.fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 3944959..405fb1c 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -112,9 +112,14 @@ :s ["Telescope lsp_document_symbols" "Document Symbols"]}) (def- replace {:name :replace - :f [:ReplaceInBuf "Replace in Buffer"] - :r [:Replace :Replace] - :w [:ReplaceWord "Replace Word"]}) + :m [:ReplaceInBuf "Replace in Buffer"] + :n [:Replace :Replace] + :e [:ReplaceWord "Replace Word"]}) + +(def- session {:name :session + :m [:RestoreSession "Restore session"] + :n [:RestoreLastSession "Restore last session"] + :e [:IgnoreSession "Ignore current session"]}) (def- treesitter {:name :Treesitter :p [:TSPlaygroundToggle :Playground]}) @@ -129,7 +134,9 @@ :h [:ColorizerToggle :Colorizer] :l lsp :m [:Mason :Mason] + :n [:SymbolsOutline "Symbols outline"] :r replace + :s session :t [:ToggleTerm :Terminal] :u [:UndotreeToggle :Undotree] :y ["Lazy home" :Home] -- cgit v1.2.3-70-g09d2