summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-documentation.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/mm-documentation.el')
-rw-r--r--.config/emacs/modules/mm-documentation.el15
1 files changed, 14 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-documentation.el b/.config/emacs/modules/mm-documentation.el
index f76dca3..1bd94da 100644
--- a/.config/emacs/modules/mm-documentation.el
+++ b/.config/emacs/modules/mm-documentation.el
@@ -28,4 +28,17 @@
(man symbol)
(message "No symbol at point.")))
-(provide 'mm-documentation)
+
+;;; Browse RFC Pages
+
+(use-package rfc-mode
+ :ensure t
+ :custom
+ (rfc-mode-directory (expand-file-name "rfc" (xdg-user-dir "DOCUMENTS")))
+ :config
+ (unless (featurep 'consult)
+ (keymap-set rfc-mode-map "g" #'imenu))
+ (with-eval-after-load 'consult
+ (keymap-set rfc-mode-map "g" #'consult-imenu)))
+
+(provide 'mm-documentation) \ No newline at end of file