From ff83f6d332c93c6f5124dfd7ba08bcebab2099e3 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 21 Dec 2022 00:38:05 +0100 Subject: Replace packer with lazy --- fnl/config/which-key.fnl | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'fnl/config/which-key.fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index a3b4469..ce5a9cc 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -64,8 +64,7 @@ :b ["Telescope git_branches theme=dropdown" "Checkout branch"] :c ["Telescope colorscheme theme=dropdown" :Colorscheme] - :f ["Telescope find_files theme=dropdown" - "Find files"] + :f ["Telescope find_files theme=dropdown" "Find files"] :t ["Telescope live_grep theme=dropdown" "Find text"] :s [:SearchSession "Find Session"] :S ["Telescope grep_string theme=dropdown" "Find String"] @@ -112,12 +111,16 @@ :S ["Telescope lsp_dynamic_workspace_symbols" "Workspace Symbols"]}) -(def- packer {:name :Packer - :c [:PackerCompile :Compile] - :i [:PackerInstall :Install] - :s [:PackerSync :Sync] - :S [:PackerStatus :Status] - :u [:PackerUpdate :Update]}) +(def- lazy {:name :Lazy + :C ["Lazy check" :Check] + :c ["Lazy clean" :Clean] + :d ["Lazy debug" :Debug] + :h ["Lazy home" :Home] + :i ["Lazy install" :Install] + :l ["Lazy log" :Log] + :p ["Lazy profile" :Profile] + :s ["Lazy sync" :Sync] + :u ["Lazy update" :Update]}) (def- replace {:name :Replace :r [:Replace :Replace] @@ -135,6 +138,7 @@ (def- nmappings {:a ["Telescope lsp_document_symbols theme=dropdown" "Document Symbols"] + :T treesitter :c [:Bdelete! "Close Buffer"] :d diagnostics :f find @@ -142,12 +146,11 @@ :h [:ColorizerToggle :Colorizer] :l lsp :n [:CommentNormal :Comment] - :p packer :r replace - :u [:UndotreeToggle :Undotree] :s [switch-window "Switch window"] :t [:ToggleTerm :Terminal] - :T treesitter + :u [:UndotreeToggle :Undotree] + :y lazy :z [:ZenMode "Zen Mode"]}) (def- vopts {:mode :v -- cgit v1.2.3-70-g09d2