diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2011-05-12 15:55:12 +0000 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2011-05-12 15:55:12 +0000 |
commit | 1ac8412d6faf8d1d631a8cb366ca69aef97405bf (patch) | |
tree | 6f97e75a01f89d3e664fa6a81c7bad2188c6af56 /Src | |
parent | 3b4fcfe79708a4901a7d768cef72b5fbcdf31cd1 (diff) | |
download | zsh-1ac8412d6faf8d1d631a8cb366ca69aef97405bf.tar.gz zsh-1ac8412d6faf8d1d631a8cb366ca69aef97405bf.tar.xz zsh-1ac8412d6faf8d1d631a8cb366ca69aef97405bf.zip |
29208: make vimatchbracket more useful in emacs mode
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_move.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c index 925f9c29f..0e940bc21 100644 --- a/Src/Zle/zle_move.c +++ b/Src/Zle/zle_move.c @@ -536,6 +536,9 @@ vimatchbracket(UNUSED(char **args)) int ocs = zlecs, dir, ct; unsigned char oth, me; + if ((zlecs == zlell || zleline[zlecs] == '\n') && zlecs > 0) + DECCS(); + otog: if (zlecs == zlell || zleline[zlecs] == '\n') { zlecs = ocs; |