Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Reverse menu-complete?



On Jun 12,  9:51pm, Hrvoje Niksic wrote:
} Subject: Reverse menu-complete?
}
} Is there a way to go one menu-completion backward?

Yeah; I use this:

setopt automenu
bindkey '^X\t' accept-and-menu-complete
bindkey '\e\t' reverse-menu-complete

TAB goes forward; if I accidentally tab too often, ESC TAB backs up
without screwing up the cycle, and then I can C-x TAB to grab that
completion and continue the cycle where I left off.


-- 
Bart Schaefer                     Vice President, Technology, Z-Code Software
schaefer@xxxxxxxxxx                   Division of NetManage Corporation
http://www.well.com/www/barts           http://www.ncdsoft.com/ZMail/




Messages sorted by: Reverse Date, Date, Thread, Author