fix(vertico): embark open in new workspace action
This commit is contained in:
parent
f6851d56ef
commit
03d692f129
1 changed files with 4 additions and 4 deletions
|
@ -86,8 +86,8 @@ buffer will be opened in the current workspace instead."
|
||||||
(funcall consult--buffer-display (car buffer)))))))
|
(funcall consult--buffer-display (car buffer)))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +vertico/embark-open-in-new-workspace (x)
|
(defun +vertico/embark-open-in-new-workspace (file)
|
||||||
"Open X (a file) in a new workspace."
|
"Open file in a new workspace."
|
||||||
(interactive)
|
(interactive "GFile:")
|
||||||
(+workspace/new)
|
(+workspace/new)
|
||||||
(find-file x))
|
(find-file file))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue