spacemacs/layers/+emacs/ibuffer
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
..
README.org Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
config.el layers directory: create new categories 2016-03-23 21:39:43 -04:00
funcs.el layers directory: create new categories 2016-03-23 21:39:43 -04:00
packages.el layers directory: create new categories 2016-03-23 21:39:43 -04:00

README.org

IBuffer layer

Description

This layer configures Emacs ibuffer for Spacemacs.

Install

Layer

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

Key Binding Description
SPC b B open ibuffer menu

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