Are you using ivy? Then you might try this out. To me it seem more usable than Eyebrowse or any other dedicated package for workspace management.
1. Define a separate function to show only “views”. I just requested to add this function, which was suggested by the author in a github issue, to the codebase.
(defun ivy-switch-view ()
(interactive)
(let ((ivy-initial-inputs-alist
‘((ivy-switch-buffer . “{}”))))
(ivy-switch-buffer)))
2. Here is my use-package-config of ivy, just for completeness.
(use-package ivy
:bind
(“C-S-r” . ivy-resume)
(“H-b” . ivy-switch-view)
:config
(setq ivy-use-virtual-buffers t)
(setq ivy-display-style ‘fancy)
(setq ivy-count-format “(%d/%d) “)
(setq ivy-height 20)
(ivy-mode 1)
:diminish ivy-mode ” “)
3. This is an example of pre-defined ivy-views. You can add dynamically ivy-views by calling ivy-push-view or removing them by using ivy-pop-view.
(setq ivy-views'(
(“{} notes + internal”
(horz
(file “~/org/active/notes.org”)
(file “~/org/active/internal.org”)))
(“{} notes + customer”
(horz
(file “~/org/active/notes.org”)
(file “~/org/active/customer.org”)))
))
Are you using ivy? Then you might try this out. To me it seem more usable than Eyebrowse or any other dedicated package for workspace management.
1. Define a separate function to show only “views”. I just requested to add this function, which was suggested by the author in a github issue, to the codebase.
(defun ivy-switch-view ()
(interactive)
(let ((ivy-initial-inputs-alist
‘((ivy-switch-buffer . “{}”))))
(ivy-switch-buffer)))
2. Here is my use-package-config of ivy, just for completeness.
(use-package ivy
:bind
(“C-S-r” . ivy-resume)
(“H-b” . ivy-switch-view)
:config
(setq ivy-use-virtual-buffers t)
(setq ivy-display-style ‘fancy)
(setq ivy-count-format “(%d/%d) “)
(setq ivy-height 20)
(ivy-mode 1)
:diminish ivy-mode ” “)
3. This is an example of pre-defined ivy-views. You can add dynamically ivy-views by calling ivy-push-view or removing them by using ivy-pop-view.
(setq ivy-views'(
(“{} notes + internal”
(horz
(file “~/org/active/notes.org”)
(file “~/org/active/internal.org”)))
(“{} notes + customer”
(horz
(file “~/org/active/notes.org”)
(file “~/org/active/customer.org”)))
))
Hi Jens. I’m on ido. Reading the code it looks like it does it exactly!
Great to know!