diff --git a/emacs/.emacs.d/config/init-devdocs.el b/emacs/.emacs.d/config/init-devdocs.el new file mode 100644 index 0000000..ca28075 --- /dev/null +++ b/emacs/.emacs.d/config/init-devdocs.el @@ -0,0 +1,19 @@ +;; -*- lexical-binding: t; -*- + +(use-package devdocs + :commands (devdocs-peruse + devdocs-lookup + devdocs-install + devdocs-delete + devdocs-update-all) + :general + (help-map "D" #'devdocs-lookup) + ('normal devdocs-mode-map + "<" #'devdocs-first-page + ">" #'devdocs-last-page + "gd" #'devdocs-peruse + "gg" #'devdocs-goto-page + "n" #'devdocs-next-entry + "p" #'devdocs-previous-entry)) + +(provide 'init-devdocs) diff --git a/emacs/.emacs.d/config/init-evil.el b/emacs/.emacs.d/config/init-evil.el index 4b3845c..dc7b0a8 100644 --- a/emacs/.emacs.d/config/init-evil.el +++ b/emacs/.emacs.d/config/init-evil.el @@ -49,6 +49,7 @@ pass eshell prodigy - docker))) + docker + devdocs))) (provide 'init-evil) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 78b5385..e3221bd 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -114,6 +114,7 @@ (require 'init-epub) (require 'init-pdf) (require 'init-homebrew) +(require 'init-devdocs) (require 'init-elfeed) (require 'init-1pass) (require 'init-wallabag)