Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: $PAGER, man vs info - was: Re: zsh-lovers
- X-seq: zsh-users 11752
- From: John Eikenberry <jae@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: $PAGER, man vs info - was: Re: zsh-lovers
- Date: Wed, 8 Aug 2007 22:54:58 -0400
- In-reply-to: <18106.24334.377557.621807@xxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: John Eikenberry <jae@xxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fb3648c60708042251g594b3863qbc0345f77cff07b0@xxxxxxxxxxxxxx> <20070805115700.GA7353@xxxxxxxxxxxxxxx> <f94pi6$kir$1@xxxxxxxxxxxxx> <20070808064949.63130.qmail@xxxxxxxxxxx> <f9cs7t$5mv$1@xxxxxxxxxxxxx> <18106.17749.611759.820818@xxxxxxxxxxxxxxxxxxxx> <20070808225016.90637.qmail@xxxxxxxxxxx> <07f901c7da19$4ea59320$ebf0b960$@com> <18106.24334.377557.621807@xxxxxxxxxxxxxxxxxxxx>
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