Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tip of the day: previous command output
- X-seq: zsh-users 7933
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Tip of the day: previous command output
- Date: Thu, 26 Aug 2004 17:43:16 -0700 (PDT)
- In-reply-to: <20040826231624.GA4778@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040819085812.GL22962@localhost> <Pine.LNX.4.61.0408190748530.9464@xxxxxxxxxxxxxxxxxx> <20040819164250.GA21575@xxxxxxxxx> <Pine.LNX.4.61.0408190956440.9464@xxxxxxxxxxxxxxxxxx> <20040820121202.GA31466@xxxxxxxxx> <20040820145032.GH13530@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408200905300.27591@xxxxxxxxxxxxxxxxxx> <20040822212126.GN7841@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408221538560.5997@xxxxxxxxxxxxxxxxxx> <20040823130043.GA7841@xxxxxxxxxxxxx> <20040826231624.GA4778@xxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
(I think we're making a run at the longest zsh-users thread ever.)
On Fri, 27 Aug 2004, Andy Spiegl wrote:
> I'm having problems with binding a key to "accept-and-menu-complete".
> I thought that Ctrl-Enter would be a nicely fitting key for that (which
> one do you guys use?) and tried
> bindkey -M menuselect '\C\r' accept-and-menu-complete
The '\C' prefix is meaningless, and ignored, for characters outside the
range a-z (or A-Z). It's a shortcut for an ASCII value, not a shortcut
for (e.g.) an X11 key event.
Whether Ctrl-Enter is meaningful depends entirely on your terminal or
emulator, and probably either sends a plain return, or sends a multi-
character sequence like a function key would. You need to find out what
it sends and bind to _that_.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author