summaryrefslogtreecommitdiff
path: root/usr.bin/vim/proto/edit.pro
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-07 21:40:33 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-07 21:40:33 +0000
commitc224fc199c25dd257673c273eb344786b9bf532c (patch)
tree8f8ed1297120c537480d9e5d46bfe7452bd8505b /usr.bin/vim/proto/edit.pro
parentd0d91e2d3d6569e4defdd5178241f28fa678d753 (diff)
Initial import of vim 4.2.
This is meant to replace nvi in the tree. Vim, in general, works better, provides more features, and does not suffer from the license problems being imposed upon nvi. On the other hand, vim lacks a non-visual ex mode, in addition to open mode. This includes the GUI (X11) code, but doesn't try to compile it.
Diffstat (limited to 'usr.bin/vim/proto/edit.pro')
-rw-r--r--usr.bin/vim/proto/edit.pro24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/vim/proto/edit.pro b/usr.bin/vim/proto/edit.pro
new file mode 100644
index 00000000000..fa6c3511b36
--- /dev/null
+++ b/usr.bin/vim/proto/edit.pro
@@ -0,0 +1,24 @@
+/* $OpenBSD: edit.pro,v 1.1 1996/09/07 21:40:29 downsj Exp $ */
+/* edit.c */
+int edit __PARMS((int initstr, int startln, long count));
+int is_ctrl_x_key __PARMS((int c));
+int add_completion_and_infercase __PARMS((char_u *str, int len, char_u *fname, int dir));
+int get_literal __PARMS((void));
+void insertchar __PARMS((unsigned c, int force_formatting, int second_indent));
+void set_last_insert __PARMS((int c));
+void beginline __PARMS((int flag));
+int oneright __PARMS((void));
+int oneleft __PARMS((void));
+int cursor_up __PARMS((long n));
+int cursor_down __PARMS((long n));
+int screengo __PARMS((int dir, long dist));
+int onepage __PARMS((int dir, long count));
+void halfpage __PARMS((int flag, linenr_t Prenum));
+int stuff_inserted __PARMS((int c, long count, int no_esc));
+char_u *get_last_insert __PARMS((void));
+void replace_push __PARMS((int c));
+int replace_pop __PARMS((void));
+void replace_flush __PARMS((void));
+void fixthisline __PARMS((int (*get_the_indent)(void)));
+int in_cinkeys __PARMS((int keytyped, int when, int line_is_empty));
+int hkmap __PARMS((int c));