* push-input and vared
@ 2010-10-26 13:31 Mikael Magnusson
2010-10-26 14:35 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Magnusson @ 2010-10-26 13:31 UTC (permalink / raw)
To: zsh workers
When you run vared after push-input, the cursor location is restored
from the pushed line when varediting, and then when you're done, the
command is restored with the cursor at the end.
You can also push-input from inside vared which doesn't do anything
useful, maybe that should just be inhibited?
--
Mikael Magnusson
(Maybe I should have just stuck this in the other thread I just made,
but I feel like this is more of a bug and that is more of a user
thing.)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: push-input and vared
2010-10-26 13:31 push-input and vared Mikael Magnusson
@ 2010-10-26 14:35 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2010-10-26 14:35 UTC (permalink / raw)
To: zsh workers
On Oct 26, 3:31pm, Mikael Magnusson wrote:
}
} You can also push-input from inside vared which doesn't do anything
} useful, maybe that should just be inhibited?
Although it's true that push-input aborts the current vared, you can
still use the pushed input with get-line, even in a subsequent call to
vared. (push-line-or-edit is a bit *less* useful because it performs
the get-line for you.)
You can "fix" this yourself by creating a keymap that doesn't have the
bindings for those functions, and then installing it with "vared -M ...".
I don't think the confusion of creating a built-in vared keymap would be
worth the effort.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-26 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 13:31 push-input and vared Mikael Magnusson
2010-10-26 14:35 ` Bart Schaefer
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).