Zsh Mailing List Archive
Messages sorted by:
Re: vi-history-search(forward|backward) vicmd mappings
- X-seq: zsh-workers 37768
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: vi-history-search(forward|backward) vicmd mappings
- Date: Sun, 24 Jan 2016 10:41:59 -0800
- 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==
- In-reply-to: <firstname.lastname@example.org>
- List-help: <mailto:email@example.com>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <email@example.com> <160123160002.ZM15365@torch.brasslantern.com> <firstname.lastname@example.org>
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.
Messages sorted by: