diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-22 01:18:21 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-22 01:18:21 +0000 |
commit | 80eddc88a7f881b7952a49a23f25677f09e6b4ba (patch) | |
tree | e8bff9fae669ff7d0df46d220225e67dd7927d49 /usr.bin/vim/globals.h | |
parent | 668eaf227d07b7361ec35e886a1de97ad5188c55 (diff) |
Add ex mode to vim, from eric@rainbow.uchicago.edu via mool@oce.nl.
Diffstat (limited to 'usr.bin/vim/globals.h')
-rw-r--r-- | usr.bin/vim/globals.h | 16 |
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. */ |