On Wed, Mar 28, 2012 at 12:18:22PM +0200, raphael rsc wrote:
> something like :  http://www.youtube.com/watch?v=E2WXc3qAg8A
> (beginning at 0:29)
> navigating through list of items and really completing at prompt

vim wildmenus is doing that too, and i find a bit irritiating mostly
because it invites me to be lazy and just hit tab multiple times instead
of thinking and typing the correct keys. the point of completion for me
is to reduce typing. for that i need to see a list of options and then
the ability to type a few keys, as little as possible and then hit tab
to get an exact match.

however, zsh completion does not prevent that (i initially thought it
would, but i just tested it), the same sequence of keys:

ls  /li[tab]m[tab][tab]38[tab]k[tab]dr[tab]
to reach /lib/modules/2.6.38.8-4-fl.smp.gcc4.4.x86.i686/kernel/drivers/
works in fish, bash, vim wildmenues, and zsh

what i find hard to get used to however is that when i have found the
right entry by navigating through the list of options i have to type
some key before i can hit tab again to get the next list of the
subdirectory. perhaps arrow keys or pgup/pgdown can be used to cycle
through the entries?

also, if i hit tab to many times, it will fill in a word that i have to
delete if i didn't want it...

one nice feature of wildmenues (that zsh doesn't seem to have) is the
ability to type any part of a word and then find a match. thus given a
list like: 

acpi        clocksource  firmware    infiniband  memstick  nfc       rtc      
usb
ata         cpufreq      gpio        input       message   of        scsi     
uwb
atm         crypto       gpu         isdn        mfd       parport   ssb      
vhost
auxdisplay  dca          hid         leds        misc      pci       staging  
video
block       dma          hwmon       lguest      mmc       pcmcia    target   
virtio
bluetooth   edac         i2c         md          mtd       platform  tty      w1
char        firewire     ieee802154  media       net       pps       uio      
watchdog

i can type dog and it will complete to watchdog

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
services:   debugging, programming, training, linux sysadmin, web development
--
pike programmer      working in china                 societyserver.(org|net)
foresight developer  community.gotpike.org                 foresightlinux.org
unix sysadmin        (open-steam|www.caudium).org                  realss.com
Martin Bähr          http://societyserver.org/mbaehr/      

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to