Archived
1
0
Fork 0

integrate devdocs into emacs via devdocs.el and devdocs-browser -- unsure which to keep still

This commit is contained in:
KemoNine 2022-09-22 17:36:04 -04:00
parent bd050dc205
commit fe82828c2b

View file

@ -8,7 +8,7 @@
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT (package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
(add-to-list 'package-selected-packages (add-to-list 'package-selected-packages
'(focus zoom popwin dired-single diredfl xclip doominhibitinhibit-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package) '(devdocs devdocs-browser focus zoom popwin dired-single diredfl xclip doominhibitinhibit-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
) )
(require 'use-package) (require 'use-package)
@ -450,3 +450,14 @@ position between last non-whitespace and `end-of-line'."
(push "_quick_reference.org" popwin:special-display-config)) (push "_quick_reference.org" popwin:special-display-config))
(popwin-mode 1) (popwin-mode 1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; devdocs
(require 'devdocs)
(require 'devdocs-browser)
; devdocs
(setq devdocs-data-dir "~/devdocs.el")
(global-set-key (kbd "C-x m") 'devdocs-lookup)
; devdocs-browser
(setq devdocs-browser-cache-directory "~/devdocs-browser")
(global-set-key (kbd "C-x n") 'devdocs-browser-open)