vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit e69a19943ba3feac32a971bf8dd96c90e25f22f5
parent 45485fa830aaf62d4c2ba7d8069322e26fc6b7f6
Author: Georgi Kirilov <in.the@repo>
Date:   Sat,  1 Feb 2020 18:49:57 +0200

vis: restore mode when dot-repeating

Diffstat:
Mvis.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vis.c b/vis.c @@ -1529,6 +1529,7 @@ void vis_repeat(Vis *vis) { else count = vis->action_prev.count; vis->action = vis->action_prev; + vis_mode_switch(vis, VIS_MODE_OPERATOR_PENDING); vis_do(vis); if (macro) { Mode *mode = vis->mode;