diff options
| author | Evan Gates <evan.gates@gmail.com> | 2020-09-25 11:31:17 -0700 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | 08aee6721db1b1eba6f9e2d58b4e4ffe37a9ecd1 (patch) | |
| tree | 123aa4ebbe2cf5b873c57d0134b5e52104d18ae8 /config.def.h | |
| parent | 08d64f6687527e2a187dd8a20afe6d30c0eaffc1 (diff) | |
| download | vis-08aee6721db1b1eba6f9e2d58b4e4ffe37a9ecd1.tar.gz vis-08aee6721db1b1eba6f9e2d58b4e4ffe37a9ecd1.tar.xz | |
vis: add vis-selection-new-match-all
Add new vis-selection-new-match-all command, default keybinding <C-a>
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.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
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("<vis-operator-shift-left>gv") }, { ">", ALIAS("<vis-operator-shift-right>gv") }, + { "<C-a>", ACTION(SELECTIONS_NEW_MATCH_ALL) }, { "<C-b>", ALIAS("<PageUp>") }, { "<C-c>", ACTION(SELECTIONS_REMOVE_COLUMN) }, { "<C-d>", ACTION(SELECTIONS_NEXT) }, |
