zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Christopher Croughton <crough45@amc.de>
Cc: zsh-users@math.gatech.edu
Subject: Re: History key bindings
Date: Thu, 27 Nov 1997 10:43:06 -0800	[thread overview]
Message-ID: <971127104306.ZM3164@candle.brasslantern.com> (raw)
In-Reply-To: <97Nov27.202243gmt+0100.17026@internet01.amc.de>

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


  reply	other threads:[~1997-11-27 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-26 17:10 Christopher Croughton
1997-11-27 17:55 ` Bart Schaefer
1997-11-27 18:21   ` Christopher Croughton
1997-11-27 18:43     ` Bart Schaefer [this message]
1997-11-28  8:57       ` Christopher Croughton
1997-11-28 12:30   ` Christopher Croughton
1997-11-28 17:18     ` Bart Schaefer
1997-11-29 13:49       ` Christopher Croughton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=971127104306.ZM3164@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=crough45@amc.de \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).