aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-10-25 21:49:01 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-10-25 22:46:43 +0100
commit3eda85a13268a7ceeb97d2e6666f0c5e6e5942d4 (patch)
tree3a25fbfdce1b1609a448d8be8df0c5dd644ed326 /vis.h
parentafe666ee88c7706954d6d6bea70ac18ecfd20312 (diff)
downloadvis-3eda85a13268a7ceeb97d2e6666f0c5e6e5942d4.tar.gz
vis-3eda85a13268a7ceeb97d2e6666f0c5e6e5942d4.tar.xz
vis: introduce vis_motion_type API
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h7
1 files changed, 7 insertions, 0 deletions
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,