* completing arguments by looking in arguments history
@ 2004-03-22 16:21 xavier
2004-03-23 2:55 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: xavier @ 2004-03-22 16:21 UTC (permalink / raw)
To: zsh-users
Hi,
I'm looking to reproduce a useful bash feature :
with alt-tab, (once you removed the mapping from your window manager)
you can complete old args
ex :
dig @<tab> will complete using all arguments in history starting with @
I find it usefull.
is there a way to do it with zsh ?
thanks
--
xavier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completing arguments by looking in arguments history
2004-03-22 16:21 completing arguments by looking in arguments history xavier
@ 2004-03-23 2:55 ` Bart Schaefer
2004-03-23 19:10 ` xavier
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2004-03-23 2:55 UTC (permalink / raw)
To: zsh-users
On Mar 22, 11:21am, xavier wrote:
}
} dig @<tab> will complete using all arguments in history starting with @
}
} is there a way to do it with zsh ?
Yes, if you're using compsys with the emacs-style bindings, which it
sounds as if you are, try typing Escape followed by either a comma or
a slash.
Look for _history_complete_word in "man zshcompsys".
(If you're using vi bindings you'll probably have to set up your own
bindkey for this.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completing arguments by looking in arguments history
2004-03-23 2:55 ` Bart Schaefer
@ 2004-03-23 19:10 ` xavier
0 siblings, 0 replies; 3+ messages in thread
From: xavier @ 2004-03-23 19:10 UTC (permalink / raw)
To: zsh-users
On Tue, Mar 23, 2004 at 02:55:43AM +0000, Bart Schaefer wrote:
|On Mar 22, 11:21am, xavier wrote:
|}
|} dig @<tab> will complete using all arguments in history starting with @
|}
|} is there a way to do it with zsh ?
|
|Yes, if you're using compsys with the emacs-style bindings, which it
|sounds as if you are, try typing Escape followed by either a comma or
|a slash.
aahh thanks many times !! meta-, and meta-/ works wonderfuly :-)
--
xavier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-23 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-22 16:21 completing arguments by looking in arguments history xavier
2004-03-23 2:55 ` Bart Schaefer
2004-03-23 19:10 ` xavier
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).