Re-add man to emacs. WoMan cannot display tables.
This commit is contained in:
parent
0ebde68a4e
commit
4dd3f63cc8
16
init.el
16
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; 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:
|
;;; Commentary:
|
||||||
;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and
|
;; 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Manual pages.
|
;; 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
|
(use-package woman
|
||||||
:custom
|
:custom
|
||||||
(woman-fill-frame t)
|
(woman-fill-frame t)
|
||||||
|
@ -630,8 +641,7 @@ With argument, do this that many times."
|
||||||
;; Open manpages in new window.
|
;; Open manpages in new window.
|
||||||
(setq display-buffer-alist '(("\\`\\*WoMan" display-buffer-pop-up-window)))
|
(setq display-buffer-alist '(("\\`\\*WoMan" display-buffer-pop-up-window)))
|
||||||
:bind
|
:bind
|
||||||
("<f1>" . my/woman-topic-at-point)
|
("C-<f1>" . my/woman-topic-at-point)
|
||||||
("C-<f1>" . woman)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Show directory tree in a window.
|
;; Show directory tree in a window.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user