man: Add config for man
Add a configuration for man so that the man-pages are shown in color.
This commit is contained in:
parent
ba2d6bd3a7
commit
faa5a9908f
3 changed files with 7 additions and 1 deletions
5
.emacs.d/config/man.el
Normal file
5
.emacs.d/config/man.el
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
(use-package man
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(set-face-attribute 'Man-overstrike nil :inherit font-lock-type-face :bold t)
|
||||||
|
(set-face-attribute 'Man-underline nil :inherit font-lock-keyword-face :underline t))
|
|
@ -57,7 +57,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
||||||
:group 'config-snippets
|
:group 'config-snippets
|
||||||
:type '(repeat directory))
|
:type '(repeat directory))
|
||||||
|
|
||||||
(setq config-snippets '(base backups c calendar dev functions git gpg org pass ripgrep rust wl yaml))
|
(setq config-snippets '(base backups c calendar dev functions git gpg man org pass ripgrep rust wl yaml))
|
||||||
|
|
||||||
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
||||||
(dolist (snippet config-snippets)
|
(dolist (snippet config-snippets)
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
!/.emacs.d/config/functions.el
|
!/.emacs.d/config/functions.el
|
||||||
!/.emacs.d/config/git.el
|
!/.emacs.d/config/git.el
|
||||||
!/.emacs.d/config/gpg.el
|
!/.emacs.d/config/gpg.el
|
||||||
|
!/.emacs.d/config/man.el
|
||||||
!/.emacs.d/config/org.el
|
!/.emacs.d/config/org.el
|
||||||
!/.emacs.d/config/pass.el
|
!/.emacs.d/config/pass.el
|
||||||
!/.emacs.d/config/ripgrep.el
|
!/.emacs.d/config/ripgrep.el
|
||||||
|
|
Loading…
Reference in a new issue