summaryrefslogtreecommitdiff
path: root/usr.bin/vim/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vim/globals.h')
-rw-r--r--usr.bin/vim/globals.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.bin/vim/globals.h b/usr.bin/vim/globals.h
index c52a48b407f..d6d9515645e 100644
--- a/usr.bin/vim/globals.h
+++ b/usr.bin/vim/globals.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: globals.h,v 1.2 1996/09/21 06:23:00 downsj Exp $ */
+/* $OpenBSD: globals.h,v 1.3 1996/09/22 01:18:02 downsj Exp $ */
/* vi:set ts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
@@ -384,6 +384,20 @@ extern char_u *all_cflags; /* this is in pathdef.c */
EXTERN char_u no_lines_msg[] INIT(="--No lines in buffer--");
/*
+ * ex mode (Q) state
+ */
+
+EXTERN int exmode_active INIT(= FALSE);
+EXTERN int ex_no_reprint INIT(= FALSE); /* no need to print after z or p */
+
+/*
+ * message.c: lines left before a "more" message. Ex mode needs to
+ * be able to reset this after you type something.
+ */
+
+EXTERN int lines_left INIT(= -1); /* lines left for listing */
+
+/*
* The error messages that can be shared are included here.
* Excluded are very specific errors and debugging messages.
*/