On Fri, Mar 30, 2018 at 01:57:43AM +0200, Ingo Schwarze wrote:
> When you want a manpage to exactly fill the available terminal width,
> you can use an alias like this:
> 
>   $ alias wman='man -Owidth=$COLUMNS'            # or
>   $ alias wman='man -Owidth=$((COLUMNS-2))'
> 
> Of course, if you change the terminal width while man(1) is open,
> you will have to do: q Ctrl-p <enter> to reformat.
There's also `fc' for that, nicely wrapped in ksh by default:

        $ type r
        r is an alias for 'fc -s'

For tmux, I'm used to having the right-most pane reserved for manual
pages. The following tmux.conf helps a lot:

        bind M resize-pane -x 82

Reply via email to