diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-31 19:04:38 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-02 16:10:29 +0100 |
| commit | d395687b586bb7505792e9298b069344d5578194 (patch) | |
| tree | 5bc6f4e6783f5cc5e06d1d9eb69c90d78afcde4b /vis.h | |
| parent | 31f5ed4a6ee3acc35b41342992f7ccce3ff8f3f1 (diff) | |
| download | vis-d395687b586bb7505792e9298b069344d5578194.tar.gz vis-d395687b586bb7505792e9298b069344d5578194.tar.xz | |
vis: improve dot command
Use an implicit macro to make changes in insert/replace mode repeatable.
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 */ }; |
