aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-31 11:46:47 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-03-31 11:56:03 +0200
commit9c48a188a51a971d65a6ce764733745fd163f017 (patch)
tree751810ac58b6dc5e7dec4c9c325d878bc55fad75 /main.c
parent74bec9dc356425c84e72d611857adb3b490fd39d (diff)
downloadvis-9c48a188a51a971d65a6ce764733745fd163f017.tar.gz
vis-9c48a188a51a971d65a6ce764733745fd163f017.tar.xz
vis: rename search related constants
Diffstat (limited to 'main.c')
-rw-r--r--main.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/main.c b/main.c
index 1b39ef7..be2a2f1 100644
--- a/main.c
+++ b/main.c
@@ -171,8 +171,8 @@ enum {
VIS_ACTION_CURSOR_WINDOW_LINE_TOP,
VIS_ACTION_CURSOR_WINDOW_LINE_MIDDLE,
VIS_ACTION_CURSOR_WINDOW_LINE_BOTTOM,
- VIS_ACTION_CURSOR_SEARCH_NEXT,
- VIS_ACTION_CURSOR_SEARCH_PREV,
+ VIS_ACTION_CURSOR_SEARCH_REPEAT_FORWARD,
+ VIS_ACTION_CURSOR_SEARCH_REPEAT_BACKWARD,
VIS_ACTION_CURSOR_SEARCH_WORD_FORWARD,
VIS_ACTION_CURSOR_SEARCH_WORD_BACKWARD,
VIS_ACTION_WINDOW_PAGE_UP,
@@ -515,15 +515,15 @@ static const KeyAction vis_action[] = {
VIS_HELP("Move cursor to bottom line of the window")
movement, { .i = VIS_MOVE_WINDOW_LINE_BOTTOM }
},
- [VIS_ACTION_CURSOR_SEARCH_NEXT] = {
- "vis-motion-search-forward",
- VIS_HELP("Move cursor to next match")
- movement, { .i = VIS_MOVE_SEARCH_NEXT }
+ [VIS_ACTION_CURSOR_SEARCH_REPEAT_FORWARD] = {
+ "vis-motion-search-repeat-forward",
+ VIS_HELP("Move cursor to next match in forward direction")
+ movement, { .i = VIS_MOVE_SEARCH_REPEAT_FORWARD }
},
- [VIS_ACTION_CURSOR_SEARCH_PREV] = {
- "vis-motion-search-backward",
- VIS_HELP("Move cursor to previous match")
- movement, { .i = VIS_MOVE_SEARCH_PREV }
+ [VIS_ACTION_CURSOR_SEARCH_REPEAT_BACKWARD] = {
+ "vis-motion-search-repeat-backward",
+ VIS_HELP("Move cursor to previous match in backward direction")
+ movement, { .i = VIS_MOVE_SEARCH_REPEAT_BACKWARD }
},
[VIS_ACTION_CURSOR_SEARCH_WORD_FORWARD] = {
"vis-motion-search-word-forward",