Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: wanted: viins-mode and digit argument with a,i,A and such
- X-seq: zsh-users 3293
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx (Zsh users list)
- Subject: Re: wanted: viins-mode and digit argument with a,i,A and such
- Date: Mon, 17 Jul 2000 17:04:01 +0000
- In-reply-to: <0FXU00G2VEVXZ5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <0FXU00G2VEVXZ5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Jul 17, 2:02pm, Peter Stephenson wrote:
} Subject: Re: wanted: viins-mode and digit argument with a,i,A and such
}
} > hi all!
} >
} > when i use bindkey -e, i can insert one character 10 times with
} > ESC 10 <character>.
} >
} > With vi one normally uses something like 10i<character>.
} > This is not possible with ZSH ( bindkey -v set ).
}
} If you are using 3.1, try a widget like [...]
I generally agree with the new philosophy of not adding things as builtins
that can be done as widgets, but this is so unbelievably trivial and so
completely general that I have no idea why we shouldn't do it:
Index: Src/Zle/zle_vi.c
===================================================================
@@ -82,6 +82,8 @@
vichgbufptr = 1;
vichgrepeat = 0;
}
+ if (zmod.flags & MOD_MULT)
+ prefixflag = 1;
}
/**/
--
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