diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-14 01:00:29 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-14 01:00:29 +0200 |
commit | 364c4ce73569c62d480a5715a2a3d8cd38b2bf80 (patch) | |
tree | e0e5c664d4f44a96865e3379cca3b4c9d591d776 /.config | |
parent | ad243dd3385601a93ba74cb6a7eb95e9cf3e3351 (diff) |
emacs: Use the ‘beframe’ package
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/config.org | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index c8f2f24..ea9baeb 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -936,6 +936,26 @@ to figure out where my point is at all times. #+END_SRC +*** Frame Management + +Prot has made a fantastic package known as ~beframe~. It allows you to have +each frame have its own buffer list. This is insanely useful for keeping my +buffers nice and organized. It’s also useful for having a way to (for example) +kill all buffers you were using in a frame before closing it. + +#+BEGIN_SRC elisp + + (use-package beframe + :init + (beframe-mode)) + + (defun mm-beframe-kill-frame () + (interactive) + (mapc #'kill-buffer (beframe-buffer-list)) + (save-buffers-kill-terminal)) + +#+END_SRC + ** Extra Modes Some modes aren’t installed by default with Emacs, so let’s fetch them |