ace-jump-buffer is an extension for
avy and the native bs buffer
menu that lets you hop to Emacs buffers in 2-3 key strokes.
Alternately, you might be interested in this package’s spiritual
successor -
frog-jump-buffer -
which is a newer, similar package that is more performant and
flexible.
Install from MELPA with package-install ace-jump-buffer, or drop ace-jump-buffer.el, avy.el, and dash.el into your load path.
Open the buffer menu and go to the selected buffer in the current window.
Select a bs-configuration, then show its buffer menu and go to the selected buffer.
Open the buffer menu and go to the selected buffer in other window.
Open the buffer menu and go to the selected buffer in full window.
Show a menu of buffers of the same mode as the current buffer.
Show a menu of buffers in the current perspective (persp-mode required.).
Show a menu of buffers in the current project (projectile required.).
The max window height for the buffer menu. The default is 20.
The function for sorting buffers in the menu. Options:
nil: Use the default(buffer-list)ordering [default]'bs--sort-by-recentf'bs--sort-by-name'bs--sort-by-size'bs--sort-by-filename'bs--sort-by-mode
The bs configuration to use when displaying the menu with
ace-jump-buffer. Options:
"all": Show all buffers [default]"persp": If you useperspectiveorpersp-mode, you may set this to scope the buffer list to your current perspective."projectile": If you useprojectile, you may set this to scope the buffer list to your current project.
The method of displaying the overlays for ace-jump-buffer.
Defaults to 'at-full which is the default value of avy.
(make-ace-jump-buffer-function) takes two variables: a string name and the body of a buffer rejection filter function.
For example, if you wanted an ace-jump-buffer function for pulling up your *shell-mode* buffers:
(make-ace-jump-buffer-function "shell"
(with-current-buffer buffer
(not (eq major-mode 'shell-mode))))This would create a bs-configurations option named "shell" and a callable defun named (ace-jump-shell-buffers).
0.4 - Changed the internal jumping library from ace-jump-mode to
avy. ajb-home-row-keys was depreciated as the default avy-keys
are set to the lower-cased home-row keys.
0.3 - Introduced a macro for easily making custom ace-jump-buffer
filters and interactive functions