From 7dfe197f5d60df10193a7c1ef39628e37f378ebb Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 9 Nov 2014 10:22:42 +0100 Subject: [PATCH] etc: gotta love .vimrc --- etc/Makefile | 2 ++ etc/root/dot.vimrc | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 etc/root/dot.vimrc diff --git a/etc/Makefile b/etc/Makefile index b1013e60f0e..657a998ba4e 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -269,6 +269,8 @@ distribution: cd ${.CURDIR}/root; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ dot.profile ${DESTDIR}/root/.profile; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ + dot.vimrc ${DESTDIR}/root/.vimrc; \ rm -f ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile .if ${MK_TCSH} != "no" diff --git a/etc/root/dot.vimrc b/etc/root/dot.vimrc new file mode 100644 index 00000000000..075872635a1 --- /dev/null +++ b/etc/root/dot.vimrc @@ -0,0 +1,6 @@ +command Zap %s/[\xA0]/ /g +set colorcolumn=80 +syntax on +set ts=8 +set hls +set nu