5.16.1 Man Install

In your initialization file, bind the Transient casual-man-tmenu to your key binding of preference.

(keymap-set Man-mode-map "C-o" #'casual-man-tmenu)

casual-man-tmenu deviates from the default bindings of Man-mode-map as shown in the table below.

Default BindingCasual BindingCommandNotes
n[Man-previous-sectionMake consistent with Casual Dired and IBuffer behavior.
p]Man-next-sectionMake consistent with Casual Dired and IBuffer behavior.
kKMan-killReserve k for navigation.
kprevious-line
jnext-line
ncasual-lib-browser-forward-paragraphUse to navigate paragraph forward.
pcasual-lib-browser-backward-paragraphUse to navigate paragraph backward.

The following keybindings are recommended to support consistent behavior between Man-mode and casual-man-tmenu.

(keymap-set Man-mode-map "n" #'casual-lib-browse-forward-paragraph)
(keymap-set Man-mode-map "p" #'casual-lib-browse-backward-paragraph)
(keymap-set Man-mode-map "[" #'Man-previous-section)
(keymap-set Man-mode-map "]" #'Man-next-section)
(keymap-set Man-mode-map "j" #'next-line)
(keymap-set Man-mode-map "k" #'previous-line)
(keymap-set Man-mode-map "K" #'Man-kill)
(keymap-set Man-mode-map "o" #'casual-man-occur-options)