Skip to content

Commit

Permalink
ibuffer: use new evilify macro
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Sep 27, 2015
1 parent ae475c0 commit 61c97b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions layers/ibuffer/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
:defer t
:init
(progn
(evilify ibuffer-mode ibuffer-mode-map)
(evil-leader/set-key "bB" 'ibuffer)
(global-set-key (kbd "C-x C-b") 'ibuffer)

(defun spacemacs//ibuffer-group-by-modes ()
"Group buffers by modes."
(when (eq 'modes ibuffer-group-buffers-by)
(spacemacs//ibuffer-create-buffs-group)))
(add-hook 'ibuffer-hook 'spacemacs//ibuffer-group-by-modes))))
(add-hook 'ibuffer-hook 'spacemacs//ibuffer-group-by-modes))
:config
(spacemacs|evilify-map ibuffer-mode-map
:mode ibuffer-mode)))

(defun ibuffer/init-ibuffer-projectile()
(use-package ibuffer-projectile
Expand Down

0 comments on commit 61c97b7

Please sign in to comment.