zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@zsh.org
Subject: Re: bug report: vi mode yank should yank to 0 register
Date: Wed, 22 Oct 2014 14:25:52 +0200	[thread overview]
Message-ID: <25590.1413980752@thecus.kiddle.eu> (raw)
In-Reply-To: <20141022113212.52f33bf4@pwslap01u.europe.root.pri>

Peter Stephenson wrote:
> It might therefore be acceptable to make 0 an alias for ".  But maybe
> that's a big can of worms...

Zsh doesn't really have a " register either. And that's effectively what
you're getting anyway. You type "0, and get a beep. When you now do a
paste, you're getting the default. We don't associate a register
character with the default.

Given that in vim, an ordinary yank should affect both " and 0
registers, a question for Gábor is: what exactly did you type, what did
you get and what did you expect?

Trying to speculate, I'm guessing it was "0p to get the last explicitly
yanked text ignoring any intermediate changes/deletions.

Oliver


  reply	other threads:[~2014-10-22 12:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21 14:32 Gábor Márton
2014-10-22 10:24 ` Oliver Kiddle
2014-10-22 10:32   ` Peter Stephenson
2014-10-22 12:25     ` Oliver Kiddle [this message]
2014-10-22 22:06   ` PATCH: " Oliver Kiddle
2014-10-22 22:44     ` Oliver Kiddle
2014-10-22 23:03     ` Oliver Kiddle
2014-10-23 19:25     ` Oliver Kiddle

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=25590.1413980752@thecus.kiddle.eu \
    --to=okiddle@yahoo.co.uk \
    --cc=zsh-workers@zsh.org \
    /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).