about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/set.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-08T15·21+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commit271e7f95610a91153ff2181aca33a5c70692a3fe (patch)
tree9dbd31234533105e3ff9eb0409ca5a0848732e6f /configs/shared/.emacs.d/wpc/set.el
parent2c0365148399c7a09114ce3f982c6c87752f1c29 (diff)
Support functions for navigating buffer caches
I've wanted an MRU/LRU sort of my "source code buffers" in Emacs. This commit
support three ways for working with a cache of source code buffers.

So first, what's a source code buffer? Well it isn't a buffer like *Messages*;
we can call these "Emacs-generated" buffers for convenience. Other problematic
buffers are buffers like `magit-status` and `dired-mode` and `erc` buffers.

I added some predicates for querying buffers for their major modes.

Supporting three KBDs for quickly accessing these functions:
1. <SPC><SPC> Toggle previous buffer
2. <SPC>b     Use ivy to fuzzily search source code buffers
3. C-{f,b}    Cycle {forwards,backwards} through the source code buffer cache.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/set.el')
0 files changed, 0 insertions, 0 deletions