Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version:content-type;
        bh=K6yo3GqVhlxfQDBJGY/D76H7oDHue0aWmbe1ESxRIzw=;
        b=xgyDhqMmzVtl4PW7+9s1HaY8uO7i2nbXe7nKL7V37//grlgLrbUv2a4QHnOp2XOrof
         xJke80glH6yFRludNLhy9RWIZ0MO/Z4cjAs7gIo0knoNm0SKtfJgtIRoAt5GI37RSs2E
         Kzu+0x6LoaIa52z1yl+BtXiYAiqV81XQ71QVDqmcdpXhzs9eqrqcVEFxo/R/DOZpEDFu
         WZ7db21cRln6nad6pGlGk4qEFT3GS4gnJCmG5SMYgu1oVa7dq3tmkKktB7Kclc+UKG9W
         5rAJUyJn6OCH+0JIxgK3X93FNKhmwNSO7Z7lvb0mwX69haIlBHxilq54q5pC2YRy5YCu
         Xxig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=K6yo3GqVhlxfQDBJGY/D76H7oDHue0aWmbe1ESxRIzw=;
        b=Wnf/5TJumrdq+mpjgrAqbT2OrF4503kVvUNB01CC+qvb7jdhfwLSWL/KmXOfWs3SAL
         mZ6cLsrkhYojv98F2qlgb7sPLAt4JiIwBjjUelWWS8f+IqG9GeAAZD4zkVme8sY5dJU4
         yzrtlNmJr9C0zb44/RcfqdeZHpOUkfj1kJke4whHpJD9OjICw9bwQPm3DWz8vUplTggB
         nNoxzeRSRLmYlV+RNVCSyTdjfax5PLxEtt8+r5QooeoHgLfB8UWb92s1Q7j1fE0IU6uR
         Wx2MRP0imvQmpT9OMelcDarN0edWND1l4W/5O0moBy29DMgBPpkYwt+USRrjCz6chy/o
         jLIw==
X-Gm-Message-State: AG10YOTJRkkyDXZq78xVOOIiFoc5J4qo0kNgryaXy2hPWFQPF57Jxfsb7K19c2sL8MA5RA==
X-Received: by 10.98.10.198 with SMTP id 67mr20228884pfk.75.1453660880781;
        Sun, 24 Jan 2016 10:41:20 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160124104159.ZM11924@torch.brasslantern.com>
Date: Sun, 24 Jan 2016 10:41:59 -0800
In-Reply-To: <n82cjv$dld$1@ger.gmane.org>
Comments: In reply to Larry Hynes <larry@larryhynes.com>
        "Re: vi-history-search(forward|backward) vicmd mappings" (Jan 24, 11:30am)
References: <n812dv$ka2$1@ger.gmane.org> 
	<160123160002.ZM15365@torch.brasslantern.com> 
	<n82cjv$dld$1@ger.gmane.org>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: zsh-workers@zsh.org
Subject: Re: vi-history-search(forward|backward) vicmd mappings
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37768

On Jan 24, 11:30am, Larry Hynes wrote:
}
} I fail all of these tests, I'm afraid; I have a lifelong
} aversion to 'we've always done it that way'; I generally invoke
} history search at the beginning of a command line; and my muscle
} memory uses '?' to search backwards and '/' to search forwards.
} (And why wouldn't it - it's the correct approach.)

At the time, searching history at all was kind of a new thing, and
the users didn't grasp that "earlier" implied "backward."  I guess.
I have a vague recollection that originally there wasn't even a
different prompt for forward/backward (both used "/") but I may be
wrong about that.

It always seemed a little odd to me because to search using banghist
you type !?...? so why not also type ? to start search from vicmd?
I would have changed it a long time ago, but I've never been a user
of vi mode in the shell so didn't argue about it much, and then I
simply forgot about it.

Oliver has been the most active in updating the vi widget set lately.
Perhaps he has an opinion.

