spacemacs/layers/+emacs/ibuffer
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
README.org documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
funcs.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

IBuffer layer

Description

This layer configures Emacs IBuffer for Spacemacs.

Features:

  • Grouping of buffers by major-modes
  • Grouping of buffers by projects

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add ibuffer to the existing dotspacemacs-configuration-layers list in this file.

Grouping buffers

Buffers can be grouped by major-modes or projectile projects. By default buffers are grouped by major-modes.

To change how buffers are grouped set the layer variable ibuffer-group-buffers-by to one of the following supported values:

  • modes to group buffers by major-modes (default)
  • projects to group buffers by projectile projects
  • nil to not group buffers

Example:

  (setq-default dotspacemacs-configuration-layers '(
    (ibuffer :variables ibuffer-group-buffers-by 'projects)))

Key bindings

Global

Key binding Description
SPC b I open IBuffer menu (global)

Note: The layer will also replace regular C-x C-b with ibuffer.

IBuffer

Key binding Description
g r update IBuffer ("refresh")
g j / ] / TAB / M-n move to next filter group
g k / [ / S-TAB / M-p move to previous filter group