mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(vertico): TAB bound to non-interactive function
This commit is contained in:
@ -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))
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user