[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363250: general: Custom PAGER gives error on sid, but works on sarge



On 4/18/06, Rohan Dhruva <rohandhruva@gmail.com> wrote:
> Package: general
> Severity: normal
>
> I want to use vim as my man pager. On other distros, and on sarge, I use this line
> in my .bashrc
>
> # Set vim as the man pager
> export PAGER="col -b | view -c 'set ft=man nomod nolist titlestring=MANPAGE' -"

I wonder if the problem is because man is splitting the command line
itself rather than letting a shell do it. That's not a bug though...

In any case,it seems to me the best solution is to create a scrupt in
/usr/local/bin called vipager and set your pager variable to that...
--
Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/



Reply to: