From 08aee6721db1b1eba6f9e2d58b4e4ffe37a9ecd1 Mon Sep 17 00:00:00 2001 From: Evan Gates Date: Fri, 25 Sep 2020 11:31:17 -0700 Subject: vis: add vis-selection-new-match-all Add new vis-selection-new-match-all command, default keybinding in visual mode. Refactor selections_next_match to find all matches if arg.b is true. This does not affect existing configs as arg.b defaults to false. --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 6a4555e..61b97b3 100644 --- a/config.def.h +++ b/config.def.h @@ -243,6 +243,7 @@ static const KeyBinding bindings_visual[] = { { "+", ACTION(SELECTIONS_ROTATE_RIGHT) }, { "<", ALIAS("gv") }, { ">", ALIAS("gv") }, + { "", ACTION(SELECTIONS_NEW_MATCH_ALL) }, { "", ALIAS("") }, { "", ACTION(SELECTIONS_REMOVE_COLUMN) }, { "", ACTION(SELECTIONS_NEXT) }, -- cgit v1.2.3