General minor refactor
This commit is contained in:
parent
39cb30d635
commit
f8e8dbad8f
12 changed files with 40 additions and 50 deletions
|
@ -93,5 +93,17 @@ Allows a perspective-specific buffer list via `+workspaces-buffer-list'."
|
|||
(persp-add-buffer buffer (get-current-persp) nil)
|
||||
(redisplay)))
|
||||
(advice-add #'switch-to-buffer :after #'+workspaces*auto-add-buffer)
|
||||
(advice-add #'display-buffer :after #'+workspaces*auto-add-buffer))
|
||||
(advice-add #'display-buffer :after #'+workspaces*auto-add-buffer)
|
||||
|
||||
;;
|
||||
(after! ivy
|
||||
(nconc ivy-sort-functions-alist
|
||||
'((persp-kill-buffer . nil)
|
||||
(persp-remove-buffer . nil)
|
||||
(persp-add-buffer . nil)
|
||||
(persp-switch . nil)
|
||||
(persp-window-switch . nil)
|
||||
(persp-frame-switch . nil)
|
||||
(+workspace/switch-to . nil)
|
||||
(+workspace/delete . nil)))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue