From 9e31d0dac08ae46c82dcf7e25a3742e6002c4673 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Sat, 31 Jul 2021 10:44:00 +0300 Subject: [PATCH] fix(vertico): ` c J` binding - needs to be `cmd!!` for the prefix argument - use descriptive quoted symbol instead of `'(4)` for prefix arg --- modules/config/default/+emacs-bindings.el | 2 +- modules/config/default/+evil-bindings.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/config/default/+emacs-bindings.el b/modules/config/default/+emacs-bindings.el index 5b3b07be6..d7d0360f5 100644 --- a/modules/config/default/+emacs-bindings.el +++ b/modules/config/default/+emacs-bindings.el @@ -56,7 +56,7 @@ :desc "Jump to symbol in any workspace" "J" #'helm-lsp-global-workspace-symbol) (:when (featurep! :completion vertico) :desc "Jump to symbol in current workspace" "j" #'consult-lsp-symbols - :desc "Jump to symbol in any workspace" "J" (cmd! #'consult-lsp-symbols '(4))) + :desc "Jump to symbol in any workspace" "J" (cmd!! #'consult-lsp-symbols 'all-workspaces)) (:when (featurep! :ui treemacs +lsp) :desc "Errors list" "X" #'lsp-treemacs-errors-list :desc "Incoming call hierarchy" "y" #'lsp-treemacs-call-hierarchy diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 51b78b66b..c8ea8dc0e 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -386,7 +386,7 @@ :desc "Jump to symbol in any workspace" "J" #'helm-lsp-global-workspace-symbol) (:when (featurep! :completion vertico) :desc "Jump to symbol in current workspace" "j" #'consult-lsp-symbols - :desc "Jump to symbol in any workspace" "J" (cmd! #'consult-lsp-symbols '(4))) + :desc "Jump to symbol in any workspace" "J" (cmd!! #'consult-lsp-symbols 'all-workspaces)) (:when (featurep! :ui treemacs +lsp) :desc "Errors list" "X" #'lsp-treemacs-errors-list :desc "Incoming call hierarchy" "y" #'lsp-treemacs-call-hierarchy