From 31ab535f8ea4204294c0d6ceebf00d3b7aca68b5 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sun, 21 Nov 2021 11:03:44 +0000 Subject: [PATCH] chore(emacs): add quick command for lsp actions --- site-modules/core/files/emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site-modules/core/files/emacs/init.el b/site-modules/core/files/emacs/init.el index 71b296c..68d5e25 100644 --- a/site-modules/core/files/emacs/init.el +++ b/site-modules/core/files/emacs/init.el @@ -111,6 +111,10 @@ "b" '(:ignore t :which-key "Buffers") "bd" 'kill-this-buffer "bb" 'counsel-switch-buffer + ;; LSP actions + "l" '(:ignore t :which-key "LSP") + "lr" 'lsp-workspace-restart + "la" 'lsp-execute-code-action ;; Projects "p" '(:ignore t :which-key "Projects") "p SPC" 'counsel-projectile