zsh-users
 help / color / mirror / code / Atom feed
* accept-line-and-down-history and push-input
@ 2010-10-26  8:06 Mikael Magnusson
  2010-10-26 14:55 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Magnusson @ 2010-10-26  8:06 UTC (permalink / raw)
  To: Zsh Users

I sometimes use accept-line-and-down-history to rerun a series of
commands, but occasionally need to run another command at some point
in the middle, but when returning from push-input, I'm left at the end
of history, not where I was. Is there some clever way I can wrap
push-input, or something, to make this work?

In case it wasn't absolutely clear,
% : one
% : two
% : three
% : lots of other history here
up to the first and ctrl-o gives
% : two
then push-input and running something again leaves
% : two
as expected but ctrl-o now gives an empty command line, I would like
it to leave me at
% : three

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-26 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26  8:06 accept-line-and-down-history and push-input Mikael Magnusson
2010-10-26 14:55 ` Bart Schaefer
2010-10-26 15:19   ` Peter Stephenson

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).