aboutsummaryrefslogtreecommitdiff
path: root/vis-motions.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-08 12:34:02 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-08 12:34:02 +0100
commit2d4408f975ea44ffabd7c3a6d43e4d9b5725c052 (patch)
tree4948d752ec23ef0c34d70dcec59891dcb746fb64 /vis-motions.c
parent97f052ffd7b89f38452c3476c036001d5f6c56f3 (diff)
downloadvis-2d4408f975ea44ffabd7c3a6d43e4d9b5725c052.tar.gz
vis-2d4408f975ea44ffabd7c3a6d43e4d9b5725c052.tar.xz
vis: more comments and cleanups
Diffstat (limited to 'vis-motions.c')
-rw-r--r--vis-motions.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vis-motions.c b/vis-motions.c
index 6a8ef2e..bbd509e 100644
--- a/vis-motions.c
+++ b/vis-motions.c
@@ -169,13 +169,13 @@ static size_t window_nop(Vis *vis, Win *win, size_t pos) {
}
Movement moves[] = {
- [VIS_MOVE_LINE_UP] = { .cur = view_line_up, .type = LINEWISE },
- [VIS_MOVE_LINE_DOWN] = { .cur = view_line_down, .type = LINEWISE },
+ [VIS_MOVE_LINE_UP] = { .cur = view_line_up, .type = LINEWISE },
+ [VIS_MOVE_LINE_DOWN] = { .cur = view_line_down, .type = LINEWISE },
[VIS_MOVE_SCREEN_LINE_UP] = { .cur = view_screenline_up, },
[VIS_MOVE_SCREEN_LINE_DOWN] = { .cur = view_screenline_down, },
- [VIS_MOVE_SCREEN_LINE_BEGIN] = { .cur = view_screenline_begin, .type = CHARWISE },
- [VIS_MOVE_SCREEN_LINE_MIDDLE] = { .cur = view_screenline_middle, .type = CHARWISE },
- [VIS_MOVE_SCREEN_LINE_END] = { .cur = view_screenline_end, .type = CHARWISE|INCLUSIVE },
+ [VIS_MOVE_SCREEN_LINE_BEGIN] = { .cur = view_screenline_begin, .type = CHARWISE },
+ [VIS_MOVE_SCREEN_LINE_MIDDLE] = { .cur = view_screenline_middle, .type = CHARWISE },
+ [VIS_MOVE_SCREEN_LINE_END] = { .cur = view_screenline_end, .type = CHARWISE|INCLUSIVE },
[VIS_MOVE_LINE_PREV] = { .txt = text_line_prev, },
[VIS_MOVE_LINE_BEGIN] = { .txt = text_line_begin, },
[VIS_MOVE_LINE_START] = { .txt = text_line_start, },