Using : Emacs 26.1, ivy, ERC, BitlBee
I want a function that calls ivy-switch-buffer with all my IRC/bitlbee related buffers. Right now I found this which works for buffers starting with # or &.
(defun my-ivy-switch-buffer (regex-list) (let ((ivy-ignore-buffers regex-list)) (ivy-switch-buffer))) (defun my-show-only-irc-buffers () (interactive) (my-ivy-switch-buffer '("(^[^#|&])")))
Problem is, conversation buffers don’t have & or # in the front, they have names such as FooBar@BitlBee.
Is there a way I could control how the conversation buffers get named? I just want to add a # to all the conversation buffers. I’m open to other ideas to get the desired result.