mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/workspaces: associate files opened via emacsclient
...with the current workspace.
This commit is contained in:
@ -109,7 +109,7 @@ stored in `persp-save-dir'.")
|
||||
(setq persp-add-buffer-on-find-file nil
|
||||
persp-add-buffer-on-after-change-major-mode nil)
|
||||
|
||||
(add-hook! 'doom-switch-buffer-hook
|
||||
(add-hook! '(doom-switch-buffer-hook server-visit-hook)
|
||||
(defun +workspaces-add-current-buffer-h ()
|
||||
"Add current buffer to focused perspective."
|
||||
(and persp-mode
|
||||
|
Reference in New Issue
Block a user