vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 7634655d3a1d06b296fe2e7f30d946da7279c675 parent adfbb720edb7fe27393c39d86beb9566fbb9234c Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 21 Apr 2015 15:02:42 +0200 Make '.' respect count Diffstat:
| M | vis.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vis.c b/vis.c @@ -763,7 +763,10 @@ static void suspend(const Arg *arg) { } static void repeat(const Arg *arg) { + int count = vis->action.count; vis->action = vis->action_prev; + if (count) + vis->action.count = count; action_do(&vis->action); }