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)))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +vertico/embark-open-in-new-workspace (x)
|
||||
"Open X (a file) in a new workspace."
|
||||
(interactive)
|
||||
(defun +vertico/embark-open-in-new-workspace (file)
|
||||
"Open file in a new workspace."
|
||||
(interactive "GFile:")
|
||||
(+workspace/new)
|
||||
(find-file x))
|
||||
(find-file file))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue