Does Emacs Prelude provide a key binding for
bury-buffer, which I use very frequently?
As Heikki correctly points out, Prelude does not bind
bury-buffer for your convenience, so you should do it yourself. I would additionally like to offer a couple of suggestions which make un/burying buffers more convenient for me:
(defun my-bury-buffer (&optional buffer-or-name unbury) "Un/bury buffer. With prefix argument UNBURY, call `unbury-buffer'. Otherwise pass BUFFER-OR-NAME to `bury-buffer'." (interactive "i\nP") (if unbury (unbury-buffer) (bury-buffer buffer-or-name))) ;; Sample key binding (global-set-key (kbd "C-x B") #'my-bury-buffer)
This allows me to bury and unbury buffers with a single global key binding.
A more general approach to unburying is to enable
(emacs) Window Convenience:
Winner mode is a global minor mode that records the changes in the window configuration (i.e., how the frames are partitioned into windows), so that you can undo them. You can toggle Winner mode with ‘M-x winner-mode’, or by customizing the variable ‘winner-mode’. When the mode is enabled, ‘C-c left’ (‘winner-undo’) undoes the last window configuration change. If you change your mind while undoing, you can redo the changes you had undone using ‘C-c right’ (‘M-x winner-redo’).
winner-mode enabled, you can type C-c← and C-c→ to bury, unbury, bury a bit deeper, unbury Kill Bill-style, etc. not just buffers but entire window configurations, too. It's basically window management for cats.