Table of Contents

IBuffer layer

Table of ContentsClose

1. Description

This layer configures Emacs IBuffer for Spacemacs.

1.1. Features:

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

2. 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.

2.1. 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


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

3. Key bindings

3.1. Global

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

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

3.2. 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

Author: root

Created: 2024-07-23 Tue 17:37