summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ibuffer.el2
-rw-r--r--view-conf.el1
2 files changed, 3 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
diff --git a/view-conf.el b/view-conf.el
index b9d29be..215644b 100644
--- a/view-conf.el
+++ b/view-conf.el
@@ -110,6 +110,7 @@ If ARG is '(16), view the battery information."
(define-key map (vector ?n) #'novel)
(define-key map (vector ?O) #'durand-maybe-enable-outline)
(define-key map (vector ?w) #'durand-eww-map)
+ (define-key map (vector ?i) #'imenu)
map)
"The keymap that is related to my custom functions about viewing.")
;;; Hyper key