Re: [hackers] [PATCH][vis] Change op_put to repeat put operation count times

From: Marc André Tanner <>
Date: Thu, 30 Jul 2015 18:51:21 +0200

On Wed, Jul 29, 2015 at 08:52:07PM +0200, Silvan Jegen wrote:
> This is the quick-and-dirty way to implement a feature I miss from Vim.

Thanks. Yes the count/repetition code needs an overhaul. I'm not sure
whether it makes sense to move it into the operator implementation
themselves though. Feels wrong. Also there are multiple "operators" which
will need it. For example when . repeats the last insertion a count
should also be supported. Then there is the question of what to do
with "n operator m movement" where vim multiplies them i.e. count is n*m.
However there seem to be cases like the shift operators > and < where
it would make sense to keep them separate.

Needs some more thought ...

 Marc André Tanner >< >< GPG key: CF7D56C0
Received on Thu Jul 30 2015 - 18:51:21 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 30 2015 - 19:00:12 CEST