Add section for ibuffer
This commit is contained in:
parent
fb4d9d85dc
commit
64ce556a57
26
init.el
26
init.el
|
@ -106,8 +106,7 @@
|
|||
(add-to-list 'exec-path "C:/Program Files/Mozilla Firefox")))
|
||||
|
||||
(setup buffers
|
||||
(:global "C-x C-b" ibuffer
|
||||
"C-x k" acdw/kill-a-buffer))
|
||||
(:global "C-x k" acdw/kill-a-buffer))
|
||||
|
||||
(setup completion
|
||||
(:option completion-ignore-case t
|
||||
|
@ -344,6 +343,29 @@
|
|||
|
||||
(:leader "m" gnus))
|
||||
|
||||
(setup ibuffer
|
||||
(:option ibuffer-saved-filter-groups
|
||||
'(("default"
|
||||
("dired" (mode . dired-mode))
|
||||
("emacs" (or (name . "^\\*scratch\\*$")
|
||||
(name . "^\\*Messages\\*$")))
|
||||
("gnus" (or (mode . message-mode)
|
||||
(mode . bbdb-mode)
|
||||
(mode . mail-mode)
|
||||
(mode . gnus-group-mode)
|
||||
(mode . gnus-summary-mode)
|
||||
(mode . gnus-article-mode)
|
||||
(name . "^\\.bbdb$")
|
||||
(name . "^\\.newsrc-dribble")))
|
||||
("help" (or (mode . help-mode)
|
||||
(mode . Info-mode)
|
||||
(mode . helpful-mode))))))
|
||||
(:global "C-x C-b" ibuffer)
|
||||
|
||||
(defun ibuffer-filter-to-default ()
|
||||
(ibuffer-switch-to-saved-filter-groups "default"))
|
||||
(:hook ibuffer-filter-to-default))
|
||||
|
||||
(setup imenu
|
||||
(:option imenu-auto-rescan t))
|
||||
|
||||
|
|
Loading…
Reference in New Issue