zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: make kill ring work in vi mode
Date: Wed, 29 Oct 2014 19:13:00 -0700	[thread overview]
Message-ID: <141029191300.ZM15787@torch.brasslantern.com> (raw)
In-Reply-To: <15607.1414626173@thecus.kiddle.eu>

On Oct 30, 12:42am, Oliver Kiddle wrote:
}
} I'm not too happy with the way this interacts with undo. I'd prefer that
} undo would revert everything to before the put instead of stepping back
} through each yank-pop. This seems to be consistent with emacs though so
} I'm probably stuck with it. I may also look further at what happens with
} . (vi-repeat-change).

I think you should be able to store an undo point somewhere specific to
vi-mode and then undo back to that point?  Just internally play around
with UNDO_CHANGE_NO?

-- 
Barton E. Schaefer


  reply	other threads:[~2014-10-30  2:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 23:42 Oliver Kiddle
2014-10-30  2:13 ` Bart Schaefer [this message]
2014-10-30  8:53 ` Peter Stephenson
2014-10-30 17:54   ` Oliver Kiddle
2014-10-31 11:35     ` Vin Shelton

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=141029191300.ZM15787@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).