Re-add man to emacs. WoMan cannot display tables.

This commit is contained in:
tastytea 2019-10-14 00:39:17 +02:00
parent 0ebde68a4e
commit 4dd3f63cc8
1 changed files with 13 additions and 3 deletions

16
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-10-13T10:24:23+00:00>
;; Time-stamp: <2019-10-13T22:38:56+00:00>
;;; Commentary:
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
@ -616,6 +616,17 @@ With argument, do this that many times."
;;;;;;;;;;;;;;;;;;;; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Manual pages.
(use-package man
:defer t
:custom
(Man-width fill-column)
:custom-face
(Man-overstrike ((t (:inherit font-lock-type-face :bold t))))
(Man-underline ((t (:inherit font-lock-keyword-face :underline t))))
:bind
("<f1>" . man)
)
(use-package woman
:custom
(woman-fill-frame t)
@ -630,8 +641,7 @@ With argument, do this that many times."
;; Open manpages in new window.
(setq display-buffer-alist '(("\\`\\*WoMan" display-buffer-pop-up-window)))
:bind
("<f1>" . my/woman-topic-at-point)
("C-<f1>" . woman)
("C-<f1>" . my/woman-topic-at-point)
)
;; Show directory tree in a window.