Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: History key bindings
- X-seq: zsh-users 1155
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Christopher Croughton <crough45@xxxxxx>
- Subject: Re: History key bindings
- Date: Thu, 27 Nov 1997 10:43:06 -0800
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <97Nov27.202243gmt+0100.17026@xxxxxxxxxxxxxxxxx>
- References: <97Nov27.202243gmt+0100.17026@xxxxxxxxxxxxxxxxx>
On Nov 27, 7:21pm, Christopher Croughton wrote:
} Subject: Re: History key bindings
}
} Bart Schaefer wrote:
} > When you first press up-arrow, there (normally) won't be any mark on
} > the line, so ^X^X does nothing.
}
} Er, on 3.0 it seems that the mark is initially set to the start of the line,
I thought I was seeing that behavior at one point, but now I can't get it
to happen again (... some fooling about occurs ...)
Aha! Whenever you use a history operation like ^P, the mark gets set at
the beginning of the line before the new history line is inserted. So
you can't mix that bindkey -s with other history motions unless you set
the mark yourself in between. If all you do is type the prefix and then
press up-arrow, it works fine.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author