fix(vertico): feature gate embark workspace action

This commit is contained in:
Itai Y. Efrat 2021-08-17 21:59:14 +03:00
parent c832eddc9d
commit 9e3a5df15d

View file

@ -169,8 +169,9 @@ overrides `completion-styles' during company completion sessions.")
(nthcdr pos embark-target-finders)))
(setq embark-package-map (make-sparse-keymap))
(map! (:map embark-file-map
:desc "Open target with sudo" "s" #'doom/sudo-find-file
:desc "Open in new workspace" "TAB" #'+vertico/embark-open-in-new-workspace)
:desc "Open target with sudo" "s" #'doom/sudo-find-file
(:when (featurep! :ui workspaces)
:desc "Open in new workspace" "TAB" #'+vertico/embark-open-in-new-workspace))
(:map embark-package-map
"h" #'doom/help-packages
"b" #'doom/bump-package