zsh-users
 help / color / mirror / code / Atom feed
* vi-history-search-*ward
@ 1996-04-30 13:08 Sverre Slotte
  1996-04-30 13:52 ` vi-history-search-*ward Zefram
  0 siblings, 1 reply; 2+ messages in thread
From: Sverre Slotte @ 1996-04-30 13:08 UTC (permalink / raw)
  To: zsh-users

Hello!

I just noticed that my newly compiled zsh (2.6-beta14) behaves weirdly
when I do a history search. This may be an intentional feature, the
announcement of which I have missed, but I bring it to your attention
just in case.

In my old shell (2.5.03) I could search using <ESC>/foo , now I need
to do <ESC>?foo .

The reason seems to be a change in the default bindings:

    2.5.03> bindkey -a /
    vi-history-search-backward

    2.6-beta14> bindkey -a /
    vi-history-search-forward

This is indeed logical, but my fingers think this is wrong; they should
prefer to search through history with /. This can easily be
accomplished through an explicit bindkey-statement in my .zshrc-file,
but I feel a proper shell should to the RightThing® by default.

Feature or oversight?

Sverre

-------------------------------------------------------------------------
Sverre Slotte                               Email:          sverre@iki.fi
Granbackagränden 4 E 33                     Phone:    + 358   0  8558 007
02210 Esbo, Finland                         Mobile:   + 358 400   641 007
-------------------------------------------------------------------------
Nokia Research Center                       Phone:    + 358   0 4376 6208
P.O.Box 45, 00211 Helsingfors, Finland      Phax:     + 358   0 4376 6856
-------------------------------------------------------------------------
Kajakken er uten sammenligning den ypperste enkeltmannsfarkost som finnes
                                                 -- Fridtjof Nansen, 1891




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vi-history-search-*ward
  1996-04-30 13:08 vi-history-search-*ward Sverre Slotte
@ 1996-04-30 13:52 ` Zefram
  0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1996-04-30 13:52 UTC (permalink / raw)
  To: sverre; +Cc: Z Shell users mailing list

>    2.5.03> bindkey -a /
>    vi-history-search-backward
>
>    2.6-beta14> bindkey -a /
>    vi-history-search-forward
>
>This is indeed logical, but my fingers think this is wrong; they should
>prefer to search through history with /. This can easily be
>accomplished through an explicit bindkey-statement in my .zshrc-file,
>but I feel a proper shell should to the RightThing=AE by default.
>
>Feature or oversight?

Feature.  It is, as you say, more logical: I've been working on making
ZLE's vi mode emulate vi, rather than ksh's vi mode.  If you dislike
this particular binding (and I can see why one might), just rebind it
in your .zshrc.

-zefram



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-30 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-30 13:08 vi-history-search-*ward Sverre Slotte
1996-04-30 13:52 ` vi-history-search-*ward Zefram

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).