diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-27 20:52:54 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-27 20:52:54 +0100 |
commit | 1a2b1fb4cce33b2cdd4ac9c9da45324a1a37ea1b (patch) | |
tree | b6e7f960fd0d5ec9462e3f900b461ee2da475b21 /.config/emacs/modules/mm-documentation.el | |
parent | f8c344ea0e859f04a7bf33264ae237bb51eef7b1 (diff) |
emacs: Add ‘rfc-mode’
Diffstat (limited to '.config/emacs/modules/mm-documentation.el')
-rw-r--r-- | .config/emacs/modules/mm-documentation.el | 15 |
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 |