Fix #2609: switch-project no-ops for helm users

This commit is contained in:
Henrik Lissner 2020-02-29 00:03:40 -05:00
parent c311d798ce
commit 5cc2befc72
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -179,6 +179,11 @@ stored in `persp-save-dir'.")
("xt" counsel-projectile-switch-project-action-run-term "invoke term from project root") ("xt" counsel-projectile-switch-project-action-run-term "invoke term from project root")
("X" counsel-projectile-switch-project-action-org-capture "org-capture into project"))) ("X" counsel-projectile-switch-project-action-org-capture "org-capture into project")))
(when (featurep! :completion helm)
(after! helm-projectile
(setcar helm-source-projectile-projects-actions
'("Switch to Project" . +workspaces-switch-to-project-h))))
;; Fix #1973: visual selection surviving workspace changes ;; Fix #1973: visual selection surviving workspace changes
(add-hook 'persp-before-deactivate-functions #'deactivate-mark) (add-hook 'persp-before-deactivate-functions #'deactivate-mark)