aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-15 12:59:12 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-15 12:59:12 +0100
commitd817f121389148ac07969d1cd15501629728efda (patch)
tree992d956824d3bc72a4338b967486845dc785a36d
parent761b5485d2e4e20d65c561e9edfa3bf978e4a2a5 (diff)
downloadvis-d817f121389148ac07969d1cd15501629728efda.tar.gz
vis-d817f121389148ac07969d1cd15501629728efda.tar.xz
vis: sentence motions are not linewise
Close #141
-rw-r--r--vis-motions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-motions.c b/vis-motions.c
index 2ee6f60..9bd95b9 100644
--- a/vis-motions.c
+++ b/vis-motions.c
@@ -283,8 +283,8 @@ Movement vis_motions[] = {
[VIS_MOVE_LONGWORD_START_NEXT] = { .txt = text_longword_start_next, .type = CHARWISE },
[VIS_MOVE_LONGWORD_END_PREV] = { .txt = text_longword_end_prev, .type = CHARWISE|INCLUSIVE },
[VIS_MOVE_LONGWORD_END_NEXT] = { .txt = text_longword_end_next, .type = CHARWISE|INCLUSIVE },
- [VIS_MOVE_SENTENCE_PREV] = { .txt = text_sentence_prev, .type = LINEWISE },
- [VIS_MOVE_SENTENCE_NEXT] = { .txt = text_sentence_next, .type = LINEWISE },
+ [VIS_MOVE_SENTENCE_PREV] = { .txt = text_sentence_prev, .type = CHARWISE },
+ [VIS_MOVE_SENTENCE_NEXT] = { .txt = text_sentence_next, .type = CHARWISE },
[VIS_MOVE_PARAGRAPH_PREV] = { .txt = text_paragraph_prev, .type = LINEWISE|JUMP },
[VIS_MOVE_PARAGRAPH_NEXT] = { .txt = text_paragraph_next, .type = LINEWISE|JUMP },
[VIS_MOVE_FUNCTION_START_PREV] = { .txt = text_function_start_prev, .type = LINEWISE|JUMP },