feat(vertico): add magit-status embark action

This commit is contained in:
Itai Y. Efrat 2021-08-17 22:04:38 +03:00
parent 9e3a5df15d
commit 934ad07f23
2 changed files with 10 additions and 0 deletions

View file

@ -170,6 +170,8 @@ overrides `completion-styles' during company completion sessions.")
(setq embark-package-map (make-sparse-keymap))
(map! (:map embark-file-map
:desc "Open target with sudo" "s" #'doom/sudo-find-file
(:when (featurep! :tools magit)
:desc "Open magit-status of target" "g" #'+vertico/embark-magit-status)
(:when (featurep! :ui workspaces)
:desc "Open in new workspace" "TAB" #'+vertico/embark-open-in-new-workspace))
(:map embark-package-map