Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: dynamic completion like emacs (M-/)
- X-seq: zsh-users 4070
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Paul Lew <paullew@xxxxxxxxx>
- Subject: Re: dynamic completion like emacs (M-/)
- Date: Mon, 30 Jul 2001 00:41:02 +0000
- Cc: <zsh-users@xxxxxxxxxx>
- In-reply-to: <15204.40786.573212.847158@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <15204.16409.818843.629061@xxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.33.0107291001120.20588-100000@xxxxxxxxxxxxxxxxx> <15204.40786.573212.847158@xxxxxxxxxxxxxxxxxxxxxxx>
On Jul 29, 4:42pm, Paul Lew wrote:
}
} paul>> Is there a way to do dynamic completion like emacs (M-/) in
} paul>> zsh?
}
} Bart> Yes, it's already bound to <ESC /> which is bothering some
} Bart> vi-mode users.
}
} Which version is this binding added? I could not find in both the
} 4.0.2 and the 4.1.0-dev-1.
It's only added if you're using the new completion system. It gets
installed by `compinit'.
} How about bind it to M-/ in emacs mode and c-p in vi insert mode?
Ideally, that's what we'd do. But at present, the `#compdef' tags used
by `compinit' to define key bindings only allow you to say what key to
use, not what keymap to install it in. It goes into whatever map is in
effect at the time `compinit' runs.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author