Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in ZSH's vi emulation
- X-seq: zsh-workers 39572
- From: Ghjuvan' Lacambre <lacambrg.info@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug in ZSH's vi emulation
- Date: Wed, 5 Oct 2016 10:09:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=u3fyV1rm70GZQdWLn7pzUq+Qw2nHPy5s1LUh1Qx8zWM=; b=XlnZUByc62KLyIh3j58Z5MZLhZwDjDtFpRuBxF3Yftf8jOpXFolHR2WZjFZt9GoZh5 XLc/sAAtzLNSjWZWEF5hDcPLBgT277z42evCcz0xGs/WONdquKTCfgrbUh7GE+bxrlZB 0TKiZtBc0y9QEDtpMuc/5ih+nuie6DMLkF6/a1PkfS5YV60fWTGLj3nTlLk4GBInk5el MOtZAfI0p+R94900u/fYhOKSS2+7SbN/WD3ULbWtKD8+dwTDaqNh2lLnlyvgNZZHooPF mWpo0nlXFQ3gQJb9Md6IFs0N5jyZOQ273QGGe01iIleWpNFG42H6lYKn9SjSxEBxXgRt HxTw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi.
There is a bug in zsh's vi emulation. Here are the steps to reproduce:
zsh -f
bindkey -v
<ESC>
d..
'd.' isn't a valid action as '.' is not a valid motion, yet 'd.' is
recorded as the last action called. When using '.', 'd.' will
recursively call itself, locking the command line and eating from 50 to
100% of available cpu resources. Other actions that depend on a motion
(such as 'c' or 'y') also suffer from this problem.
--
Ghjuvan' Lacambre
Messages sorted by:
Reverse Date,
Date,
Thread,
Author