Peng Yu | 6 Aug 2012 22:56
Picon

How to set vim as the default pager for perldoc?

Hi,

I use the following to set vim as the default paper for man, which
works fine.

export MANPAGER="col -b -x | vim -R -c 'set ft=man' -"

But when I do the same thing perldoc,

export PERLDOC_PAGER="col -b -x | vim -R -c 'set ft=man' -"

I got the following message. Does anybody know what is the correct way
to set vim as the default paper for perldoc?

~$ perldoc Data::Dumper
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 26 2012 01:05:30)
Too many edit arguments: "/var/folders/ok/okxjw3HGEsyvIrMaKBkHhE+++TI/-
Tmp-/f9CAilKxGD"
More info with: "vim -h"

Thanks,
Peng

--

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php


Gmane