From d395687b586bb7505792e9298b069344d5578194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 31 Oct 2015 19:04:38 +0100 Subject: vis: improve dot command Use an implicit macro to make changes in insert/replace mode repeatable. --- vis.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 3bafba0..4ceba61 100644 --- a/vis.h +++ b/vis.h @@ -135,8 +135,8 @@ enum VisOperator { OP_SHIFT_RIGHT, OP_SHIFT_LEFT, OP_JOIN, - OP_REPEAT_INSERT, - OP_REPEAT_REPLACE, + OP_INSERT, + OP_REPLACE, OP_CURSOR_SOL, OP_CASE_SWAP, /* pseudo operators: keep them at the end to save space in array definition */ @@ -261,6 +261,8 @@ void vis_textobject(Vis*, enum VisTextObject); enum VisMacro { /* XXX: TEMPORARY */ VIS_MACRO_LAST_RECORDED = 26, + VIS_MACRO_REPEAT, + VIS_MACRO_OPERATOR, VIS_MACRO_INVALID, /* hast to be the last enum member */ }; -- cgit v1.2.3