aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-09 11:58:29 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-09 12:34:55 +0100
commit51bf6abad037a333ad3b8f760150de4d834bb900 (patch)
treec2c8d9e5fc4d6f76c310202dfc096ca98f375084 /vis-core.h
parent0e74ee26ef3d441a559ea18bec08018c0c2ef461 (diff)
downloadvis-51bf6abad037a333ad3b8f760150de4d834bb900.tar.gz
vis-51bf6abad037a333ad3b8f760150de4d834bb900.tar.xz
vis: unify VIS_OP_{INSERT,REPLACE} implementation
They both perform a motion before changing mode.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 6ee25f3..6940eaf 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -95,6 +95,7 @@ typedef Buffer Macro;
typedef struct { /** collects all information until an operator is executed */
int count;
+ enum VisMode mode;
enum VisMotionType type;
const Operator *op;
const Movement *movement;