vim-manpager installed as a vim package (in $VIMRUNTIME/pack/lambdalisue/start/vim-manpager)
vim-pager and AnsiEsc also installed as vim packages
I've done the following:
$ export MANPAGER="vim -c MANPAGER -"
$ man git
When I do this, the output looks like the following:
When in vim already, if I run :Man git, it looks like the following:
Note that the first only does ANSI escape sequences on the title area; everywhere else, everything is emitted as plain text, with no colors or additional formatting (bold, italic, etc.). I do note, however, that all keybindings are present; I can put my cursor over a keyword and use any of the configured keybindings to jump to that manpage. When I do, I observe the same behavior, however, with regards to display.
The second example, using the :Man command, looks exactly how I would expect.
Environment info:
$VIMRUNTIME/pack/lambdalisue/start/vim-manpager
)I've done the following:
When I do this, the output looks like the following:
When in vim already, if I run
:Man git
, it looks like the following:Note that the first only does ANSI escape sequences on the title area; everywhere else, everything is emitted as plain text, with no colors or additional formatting (bold, italic, etc.). I do note, however, that all keybindings are present; I can put my cursor over a keyword and use any of the configured keybindings to jump to that manpage. When I do, I observe the same behavior, however, with regards to display.
The second example, using the
:Man
command, looks exactly how I would expect.