about summary refs log tree commit diff
path: root/edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'edit.h')
-rw-r--r--edit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/edit.h b/edit.h
index 18e9cd2..d94a028 100644
--- a/edit.h
+++ b/edit.h
@@ -35,13 +35,10 @@ struct Edit {
 	size_t cap;
 	struct Edit *cut;
 	struct {
-		enum EditViMode {
-			EditViInsert,
-			EditViCommand,
-		} mode;
-		unsigned count;
+		bool mode;
 		char verb;
 		bool lnext;
+		unsigned count;
 	} vi;
 };