summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-23 05:04:39 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-23 05:04:39 +0000
commit39a989e6f44f5834a3cda99da2ecfed7b3364bc1 (patch)
treeccba9cd5eb722be77a96a1e546362c299b491db1 /etc
parent067fdc8a853699b4670099cb9a0732e1eb81d598 (diff)
virc is sourced by vim when invoked as vi.
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile4
-rw-r--r--etc/virc7
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 582392a7965..17487452d42 100644
--- a/etc/Makefile
+++ b/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/etc/virc b/etc/virc
new file mode 100644
index 00000000000..5142fdba423
--- /dev/null
+++ b/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