diff --git a/modules/completion/vertico/autoload/workspaces.el b/modules/completion/vertico/autoload/workspaces.el index 90586aa2c..964b61b89 100644 --- a/modules/completion/vertico/autoload/workspaces.el +++ b/modules/completion/vertico/autoload/workspaces.el @@ -47,7 +47,8 @@ Use consult narrowing with another workspace number to open a buffer from that w (funcall consult--buffer-display (car buffer))))) ;;;###autoload -(defun +vertico-embark-open-in-new-workspace (x) +(defun +vertico/embark-open-in-new-workspace (x) "Open X (a file) in a new workspace." + (interactive) (+workspace/new) (find-file x)) diff --git a/modules/completion/vertico/config.el b/modules/completion/vertico/config.el index ef035d9b2..bd31446ac 100644 --- a/modules/completion/vertico/config.el +++ b/modules/completion/vertico/config.el @@ -158,7 +158,7 @@ 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 - :desc "Open in new workspace" "TAB" #'+vertico-embark-open-in-new-workspace) + :desc "Open in new workspace" "TAB" #'+vertico/embark-open-in-new-workspace) (:map embark-package-map "h" #'doom/help-packages "b" #'doom/bump-package