From 3eda85a13268a7ceeb97d2e6666f0c5e6e5942d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 25 Oct 2015 21:49:01 +0100 Subject: vis: introduce vis_motion_type API --- vis.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 288b3c0..1ef89fa 100644 --- a/vis.h +++ b/vis.h @@ -110,6 +110,13 @@ enum VisMotion { void vis_motion(Vis*, enum VisMotion, ...); +enum VisMotionType { + VIS_MOTION_LINEWISE = 1 << 0, + VIS_MOTION_CHARWISE = 1 << 1, +}; + +void vis_motion_type(Vis *vis, enum VisMotionType); + enum VisTextObject { TEXT_OBJ_INNER_WORD, TEXT_OBJ_OUTER_WORD, -- cgit v1.2.3