zsh-workers
 help / color / mirror / code / Atom feed
* Menu selection and added space again
@ 2000-11-28  9:53 Andrej Borsenkow
  0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2000-11-28  9:53 UTC (permalink / raw)
  To: ZSH workers mailing list

I needed to quickly diff two files; what I did was

gdiff -u s/s/nssw/wb_TAB

that resulted in

bor@itsrm2% gdiff -u samba-2.2.0-alpha1/source/nsswitch/wb_common.c
Completing original file
wb_client.c        wb_common.c        wb_common.c.org    winbindd_cache.c 

I moved to wb_common and simply hit `{.org,}', that gave me command line

bor@itsrm2% gdiff -u samba-2.2.0-alpha1/source/nsswitch/wb_common.c {.org,}

note the space before `{'.

May be, it is misuse of completion - but I do it often in cases like above. 

-andrej

Have a nice DOS!
B >> 


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

* Re: Menu selection and added space again
@ 2000-11-28 10:02 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-11-28 10:02 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> I needed to quickly diff two files; what I did was
> 
> gdiff -u s/s/nssw/wb_TAB
> 
> that resulted in
> 
> bor@itsrm2% gdiff -u samba-2.2.0-alpha1/source/nsswitch/wb_common.c
> Completing original file
> wb_client.c        wb_common.c        wb_common.c.org    winbindd_cache.c 
> 
> I moved to wb_common and simply hit `{.org,}', that gave me command line
> 
> bor@itsrm2% gdiff -u samba-2.2.0-alpha1/source/nsswitch/wb_common.c {.org,}
> 
> note the space before `{'.
> 
> May be, it is misuse of completion - but I do it often in cases like above. 

How about:

  bindkey -s -M menuselect '{' '\C-h{'

?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~2000-11-28 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-28  9:53 Menu selection and added space again Andrej Borsenkow
2000-11-28 10:02 Sven Wischnowsky

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