zsh-users
 help / color / mirror / code / Atom feed
From: "René Neumann" <lists@necoro.eu>
To: zsh-users@zsh.org
Subject: Re: How to link to zsh manual section?
Date: Mon, 09 Feb 2015 14:52:44 +0100	[thread overview]
Message-ID: <54D8BBAC.2000405@necoro.eu> (raw)
In-Reply-To: <87386g8cm6.fsf@gmail.com>

Am 08.02.2015 um 19:46 schrieb Christian Neukirchen:
> zzapper <david@rayninfo.co.uk> writes:
> 
>> A few tips on negotiating the zsh manuals please
>>
>> man zshall etc
> 
> # zman -- easier browsing of zsh manpage
> # 20sep2011  +chris+
> zman() {
>   PAGER="less -g -s '+/^       "$1"'" man zshall
> }
> 
> In doubt, press "n" a few times for the next results.
> 

Nice idea! One could enhance it a little (depending on one's preference,
of course) by inserting (?i) into the search string, resulting in
case-independent search.

-> PAGER="less -g -s '+/(?i)^       "$1"'" man zshall

- René


  parent reply	other threads:[~2015-02-09 14:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 23:23 zzapper
2015-02-07 11:52 ` zzapper
2015-02-07 12:54   ` Mikael Magnusson
2015-02-07 17:17     ` Ray Andrews
2015-02-07 20:00 ` Bart Schaefer
     [not found] ` <150207120056.ZM10752__13292.4999263652$1423339408$gmane$org@torch.brasslantern.com>
2015-02-07 21:13   ` Stephane Chazelas
2015-02-08 10:00     ` zzapper
2015-02-08 18:46 ` Christian Neukirchen
2015-02-09 13:33   ` zzapper
2015-02-09 13:52   ` René Neumann [this message]
2015-02-11 12:26     ` İsmail Dönmez
2015-02-11 12:39       ` Peter Stephenson
2015-02-11 12:47       ` René Neumann
2015-02-11 12:50         ` İsmail Dönmez
2015-02-11 17:02           ` Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54D8BBAC.2000405@necoro.eu \
    --to=lists@necoro.eu \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).