7 changes: 1 addition & 6 deletions modules/ui/workspaces/autoload/workspaces.el
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,7 @@ workspace, otherwise the new workspace is blank."
end of the workspace list."
(interactive
(list (or current-prefix-arg
(if (modulep! :completion ivy)
(ivy-read "Switch to workspace: "
(+workspace-list-names)
:caller #'+workspace/switch-to
:preselect (+workspace-current-name))
(completing-read "Switch to workspace: " (+workspace-list-names))))))
(completing-read "Switch to workspace: " (+workspace-list-names)))))
(when (and (stringp index)
(string-match-p "^[0-9]+$" index))
(setq index (string-to-number index)))
Expand Down
7 changes: 0 additions & 7 deletions modules/ui/workspaces/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,6 @@ stored in `persp-save-dir'.")
("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")))

(when (modulep! :completion ivy)
(after! ivy-rich
(cl-callf plist-put ivy-rich-display-transformers-list
'+workspace/switch-to
'(:columns ((ivy-rich-candidate (:width 50))
(+workspace--ivy-rich-preview))))))

(when (modulep! :completion helm)
(after! helm-projectile
(setcar helm-source-projectile-projects-actions
Expand Down