selectrum: fix project switching with workspaces
Replicates ivy behavior of opening file in the new workspace
This commit is contained in:
parent
8e6371760a
commit
0e9864d308
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ stored in `persp-save-dir'.")
|
|||
(add-hook 'server-done-hook #'+workspaces-delete-associated-workspace-h)
|
||||
|
||||
;; per-project workspaces, but reuse current workspace if empty
|
||||
(setq projectile-switch-project-action #'+workspaces-set-project-action-fn
|
||||
;; HACK?? needs review
|
||||
(setq projectile-switch-project-action (lambda () (+workspaces-set-project-action-fn) (+workspaces-switch-to-project-h))
|
||||
counsel-projectile-switch-project-action
|
||||
'(1 ("o" +workspaces-switch-to-project-h "open project in new workspace")
|
||||
("O" counsel-projectile-switch-project-action "jump to a project buffer or file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue