From 2f8e1df005b23f1af318744de4da72b3ca2c62c8 Mon Sep 17 00:00:00 2001 From: downsj <> Date: Mon, 23 Sep 1996 05:04:38 +0000 Subject: [PATCH] virc is sourced by vim when invoked as vi. --- src/etc/Makefile | 4 ++-- src/etc/virc | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/etc/virc diff --git a/src/etc/Makefile b/src/etc/Makefile index 582392a7..17487452 100644 --- a/src/etc/Makefile +++ b/src/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.26 1996/09/17 07:18:15 deraadt Exp $ +# $OpenBSD: Makefile,v 1.27 1996/09/23 05:04:37 downsj Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific @@ -17,7 +17,7 @@ BIN1= aliases bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \ daily dm.conf ftpusers ftpchroot gettytab group hosts hosts.equiv \ hosts.lpd ifaliases inetd.conf ksh.kshrc man.conf monthly motd \ myname netstart newsyslog.conf phones printcap protocols rc \ - rc.local remote rpc security services shells syslog.conf weekly \ + rc.local remote rpc security services shells syslog.conf virc weekly \ etc.${MACHINE}/disktab # -rw-rw-r-- diff --git a/src/etc/virc b/src/etc/virc new file mode 100644 index 00000000..5142fdba --- /dev/null +++ b/src/etc/virc @@ -0,0 +1,7 @@ +" $OpenBSD: virc,v 1.1 1996/09/23 05:04:38 downsj Exp $ +" Compatible mode for vim. +set cpoptions=$ esckeys formatoptions=vt history=0 iskeyword=@,48-57,_ +set nomodeline nomore noshowcmd noshowmode notagrelative notextauto +set nowritebackup +set undolevels=0 updatecount=0 whichwrap="" wildchar= +:version 4.0