Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion style like Vim
- X-seq: zsh-users 15550
- From: Michael Treibton <mtreibton@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completion style like Vim
- Date: Tue, 16 Nov 2010 19:57:53 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XgqDrF0Z7FrYx4dHVfQDlF0ZQCZWOzs3f9JvW5ILKTI=; b=G+fJnGA9GLGyLifF/Ujzg2bSMTgY3M7I+Jo1dTssf2x9xRvMrKUgpBwdKbMD/ebmXL UOSe7T/rlHvAcL7k71hxMYhk3vAHPiwiDP042+K7Nu/FXPTztyIw3BJWZhbfeT43G4jL s5R67OJOoSk7u/VqSdAwIMSqiyB5v2VGHXDHk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ukcjrOO9lRpMXF7vmYdIkyEkkvnyJHS9EnVm+9Z7jNSoBs55xIwqKuILYMlq4f+rkD Gccu53Npw2S9pYP98bVQTyuTpOeuGStJDshnSeQxjac380zgRf1IQbmVe2fmK9pxA/3X z1X/hsPAr3BGtMy1ijdY3vBORyVI6lLcjUFe0=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi all,
I'm wondering how i can get vim-like completion with zsh, and even if
it's possible?
For those who don't know, vim allows completion to happen on one line,
so if I have entered the following commands:
foobar hello
bar baz hello
zsh is cool
zsh is really cool
... and I were to type in:
zsh is
and then press the up or down arrow keys, I would see as completion:
zsh is cool
zsh is really cool
which would be cycled through on the single line -- that is, without
presenting the completion menu.
Is something like this possible with zsh (and I assume zle?) Note
that I already use the following bindings:
bindkey '\e[5~' beginning-of-buffer-or-history
bindkey '\e[6~' end-of-buffer-or-history
bindkey "^[n" history-search-forward
bindkey "^[p" history-search-backward
Which don't quite do what I want.
Is this possible at all? I hope I've explained this well enough.
Thanks!
Michael
Messages sorted by:
Reverse Date,
Date,
Thread,
Author