summaryrefslogtreecommitdiff
path: root/ibuffer.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-01-03 15:17:02 +0800
committerJSDurand <mmemmew@gmail.com>2023-01-03 15:17:02 +0800
commit7d0ba00c8897a98b2b27f02f026e1dcc0a2e6de9 (patch)
tree9e135baff508ca3b7e07decf72362f89af794fe5 /ibuffer.el
parentf3c383b7906235e3b50dbc196194f311bf949174 (diff)
ibuffer and view: bind imenu and add filters
* ibuffer.el (durand-bongo-set-filter): Add filters for Eshell and Org buffers. * view-conf.el (durand-view-map): Bind imenu to "i" in the view-map.
Diffstat (limited to 'ibuffer.el')
-rw-r--r--ibuffer.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/ibuffer.el b/ibuffer.el
index c23dcb2..40ef737 100644
--- a/ibuffer.el
+++ b/ibuffer.el
@@ -442,6 +442,8 @@ value of `default-directory' in that buffer."
(cons "ELisp" '((mode . emacs-lisp-mode)))
(cons "EWW" '((mode . eww-mode)))
(cons "PDF" '((mode . pdf-view-mode)))
+ (cons "Eshell" '((mode . eshell-mode)))
+ (cons "Org" '((mode . org-mode)))
(cons "Roman" '((mode . novel-read-mode)))))
(let ((ibuf (get-buffer "*Ibuffer*")))
(when ibuf