vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 72a801898acdc01ff1a9189c29ee1fed4d50b269 parent 1da27097039867610604463f1a37a90cf9b331a9 Author: Marc André Tanner <mat@brain-dump.org> Date: Mon, 16 Jan 2017 19:43:25 +0100 vis: allow macro recording/replay in visual mode Fix #461 Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -267,6 +267,7 @@ static const KeyBinding bindings_normal[] = { static const KeyBinding bindings_visual[] = { { "A", ACTION(CURSORS_NEW_LINES_END) }, + { "@", ACTION(MACRO_REPLAY) }, { ":", ACTION(PROMPT_SHOW) }, { "-", ACTION(SELECTIONS_ROTATE_LEFT) }, { "+", ACTION(SELECTIONS_ROTATE_RIGHT) }, @@ -292,6 +293,7 @@ static const KeyBinding bindings_visual[] = { { "J", ACTION(JOIN_LINES) }, { "gJ", ACTION(JOIN_LINES_TRIM) }, { "o", ACTION(SELECTION_FLIP) }, + { "q", ACTION(MACRO_RECORD) }, { "r", ACTION(REPLACE_CHAR) }, { "s", ALIAS("c") }, { "<S-Tab>", ACTION(CURSORS_ALIGN_INDENT_RIGHT) },