To use Vim as a pager for man I have
in my profile. Now man pages look very good with colors and stuff. However, when trying
man ascii as a way of looking at the ASCII table, I notice that the table is mis-aligned as in the screenshot below:
This problem doesn't happen to the default pager. When I set
export MANPAGER="view -" the table is also correct, so something must be wrong with the
#!/bin/sh sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \ vim \ -c 'let no_plugin_maps = 1' \ -c 'set nolist nomod ft=man' \ -c 'let g:showmarks_enable=0' \ -c 'runtime! macros/less.vim' -
How can I fix this?