Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.63 KB

README.org

File metadata and controls

56 lines (43 loc) · 1.63 KB

IBuffer layer

Table of Contents

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 bindingDescription
SPC b Iopen IBuffer menu (global)

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

IBuffer

Key bindingDescription
g rupdate IBuffer (“refresh”)
g jmove to next filter group
g kmove to previous filter group