Tuesday, August 7, 2012

Re: How to set vim as the default pager for perldoc?

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

Thanks, Christian.

Using the above export, I tried perldoc -f open. But the following
line is not showing correctly. I think that probably "ft" be changed
to something other than man. Are you aware of the alternative?

These various prefixes correspond to the 4mfopen24m(3) modes of "r",

--
Regards,
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

No comments: