aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-window.el
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2024-07-28 14:59:13 -0400
committerBardofSprites <[email protected]>2024-07-28 14:59:56 -0400
commita4725d2b01840c4e0e9b71a9603b7647938f05e5 (patch)
tree67b030c5ffee10328a896422b983de31e87f2f5b /bard-emacs-modules/bard-emacs-window.el
parente0da2a9a4d6668f8070f1a983b65b0b38718e248 (diff)
bufferbin
Diffstat (limited to 'bard-emacs-modules/bard-emacs-window.el')
-rw-r--r--bard-emacs-modules/bard-emacs-window.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-window.el b/bard-emacs-modules/bard-emacs-window.el
index a358517..16c386f 100644
--- a/bard-emacs-modules/bard-emacs-window.el
+++ b/bard-emacs-modules/bard-emacs-window.el
@@ -30,6 +30,21 @@
("M-8" . eyebrowse-switch-to-window-config-8)
("M-9" . eyebrowse-switch-to-window-config-9)))
+(use-package bufferbin
+ :ensure t
+ :bind
+ (("C-c b" . bufferbin))
+ :config
+ (add-to-list 'bufferbin-ignore-regex "^*")
+ (dolist (fonts '((org-mode . prot-modeline-indicator-yellow-bg)
+ (emacs-lisp-mode . prot-modeline-indicator-magenta-bg)
+ (lisp-mode . prot-modeline-indicator-magenta-bg)
+ (scheme-mode . prot-modeline-indicator-magenta-bg)
+ (haskell-mode . prot-modeline-indicator-magenta-bg)
+ (c-mode . prot-modeline-indicator-magenta-bg)
+ (c++-mode . prot-modeline-indicator-magenta-bg)))
+ (add-to-list 'bufferbin-mode-fonts fonts)))
+
(use-package windmove
:bind*
(("C-M-<up>" . windmove-up)