Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: $PAGER, man vs info - was: Re: zsh-lovers



My favorite pager is vim. Here's my current working version.

[jae_0]cat ~/bin/pager
#!/bin/sh

col -b | view --cmd 'let no_plugin_maps = 1' \
    -c 'set ft=man nomod nolist' -c 'runtime! macros/less.vim' \
    -c "set ls=0" -c 'noremap <Up> <C-Y>' -c 'noremap <Down> <C-E>' -



-- 

John Eikenberry
[jae@xxxxxxxx - http://zhar.net]
______________________________________________________________
"It is difficult to produce a television documentary that is both incisive
and probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling



Messages sorted by: Reverse Date, Date, Thread, Author