zsh-users
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Extending zed
Date: Mon, 4 Jun 2018 12:17:52 +0200	[thread overview]
Message-ID: <CAKc7PVB6JhtAQa+MUs0tm28211e4xJ4QRt-83=QYmuOczKwcOA@mail.gmail.com> (raw)
In-Reply-To: <20180604095044eucas1p2ae6dd78f9518e91e6171d15d3717f924~07CtDwS5C1968619686eucas1p2k@eucas1p2.samsung.com>

On 4 June 2018 at 11:50, Peter Stephenson <p.stephenson@samsung.com> wrote:
>
> bindkey extensions ought to be unproblematic --- you'll see there's
> already a zed keymap which binds ^x^w to accept-line.

I've looked at the undo problem. Ctrl-/ (or Ctrl-_ that's the same
control code as we know) works fine in insert mode, i.e. it does do
undo. I've checked it's bound to widget "undo" (checking code at the
end of post). Then I've checked the not-working "u" in zed-vicmd
keymap. It is also bound to widget "undo". But it makes viewport
blank, doesn't do smooth undo like Ctrl-/. What is the way out of
this? Shoud vicmd keymap bind to vi-undo-change? Docs suggest it is a
one-time undo.


I've added those to zed to check the bindings:
        bindkey -M zed-vicmd | egrep -i '("u"|\^_)'
        bindkey -M zed | egrep -i '("u"|\^_)'
-- 
Best regards,
Sebastian Gniazdowski


  reply	other threads:[~2018-06-04 10:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180603055854epcas5p1e92f5a41384aeb9d1555751df74f57ee@epcas5p1.samsung.com>
2018-06-03  5:57 ` Sebastian Gniazdowski
2018-06-04  8:37   ` Peter Stephenson
2018-06-04  9:41     ` Sebastian Gniazdowski
2018-06-04  9:50       ` Peter Stephenson
2018-06-04 10:17         ` Sebastian Gniazdowski [this message]
2018-06-04 16:08           ` Oliver Kiddle
2018-06-05 14:40             ` Sebastian Gniazdowski
2019-07-28 11:01               ` Sebastian Gniazdowski
     [not found]       ` <20180604105042.69c54bee@camnpupstephen.cam.scsc.local>
2018-06-04  9:56         ` Peter Stephenson

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='CAKc7PVB6JhtAQa+MUs0tm28211e4xJ4QRt-83=QYmuOczKwcOA@mail.gmail.com' \
    --to=sgniazdowski@gmail.com \
    --cc=p.stephenson@samsung.com \
    --cc=zsh-users@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).