Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug report: vi mode yank should yank to 0 register
- X-seq: zsh-workers 33501
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: bug report: vi mode yank should yank to 0 register
- Date: Wed, 22 Oct 2014 14:25:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1413980753; bh=woCzQWaxBkavpNmjRZio//ZBxV75Ix52B8GvQkbNXa8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Content-Transfer-Encoding:Date:Message-ID; b=HGkJ0ED4YGL95XNx3OggiiJ4hOwaE5Zx3qAp13YFyIVHy/8BvuYbVzL+LOw5RaYH4W7JzHkQFZODkIqX82H1cqAMkLMiae89KqPWlr4Aoi0+sXiKxewtmw3lSt3D0lq1kAi5zlV959red+WfC66WhPiScVI6xUOWClKZ0fTJsV4=
- In-reply-to: <20141022113212.52f33bf4@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAH6rKyDOgRDYm0yXpTD41BLf_0+vu=3GSHuf-7O1H25tv+=K3Q@mail.gmail.com> <25197.1413973482@thecus.kiddle.eu> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author