aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-21 12:53:40 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-21 12:55:09 +0100
commitd7f5912eb1c044399c662329656ab0cca37a471b (patch)
tree7b3fc68e8150333c82587d786abfa8a0f38d6b6f /vis.h
parent559ab349a05d5201b666eddb22d921c40b131bd5 (diff)
downloadvis-d7f5912eb1c044399c662329656ab0cca37a471b.tar.gz
vis-d7f5912eb1c044399c662329656ab0cca37a471b.tar.xz
vis: implement `gh` and `gl` to move by relative byte offsets
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 081ae35..ce6e42b 100644
--- a/vis.h
+++ b/vis.h
@@ -284,6 +284,8 @@ enum VisMotion {
VIS_MOVE_NOP,
VIS_MOVE_PERCENT,
VIS_MOVE_BYTE,
+ VIS_MOVE_BYTE_LEFT,
+ VIS_MOVE_BYTE_RIGHT,
VIS_MOVE_INVALID, /* denotes the end of the "real" motions */
/* pseudo motions: keep them at the end to save space in array definition */
VIS_MOVE_TOTILL_REPEAT,