Date: Sun, 16 Nov 2014 11:29:29 +0100 From: olli hauer <ohauer@gmx.de> To: Alfred Perlstein <alfred@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r372622 - in head/editors/vim: . files Message-ID: <54687C89.20206@gmx.de> In-Reply-To: <201411160232.sAG2WJ4Z084790@svn.freebsd.org> References: <201411160232.sAG2WJ4Z084790@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-11-16 03:32, Alfred Perlstein wrote: > Author: alfred (src committer) > Date: Sun Nov 16 02:32:18 2014 > New Revision: 372622 > URL: https://svnweb.freebsd.org/changeset/ports/372622 > QAT: https://qat.redports.org/buildarchive/r372622/ > > Log: > A nice default vimrc for new users. > > Otherwise users get "vi compat mode" which gives very old and > unfriendly vi defaults that breaks arrow keys and backspace as well > as no color. > > Expert users can disable this default vimrc via "make config". > > Approved by: delphij > > Added: > head/editors/vim/files/vimrc (contents, props changed) > Modified: > head/editors/vim/Makefile > > Modified: head/editors/vim/Makefile > ============================================================================== > --- head/editors/vim/Makefile Sun Nov 16 00:37:01 2014 (r372621) > +++ head/editors/vim/Makefile Sun Nov 16 02:32:18 2014 (r372622) > @@ -20,13 +20,14 @@ COMMENT?= Improved version of the vi edi > > PATCH_DEPENDS= ${LOCALBASE}/bin/gpatch:${PORTSDIR}/devel/patch > > -OPTIONS_DEFINE= CSCOPE EXUBERANT_CTAGS LUA NLS PERL PYTHON RUBY TCL XTERM_SAVE > +OPTIONS_DEFINE= CSCOPE EXUBERANT_CTAGS LUA NLS PERL PYTHON RUBY TCL XTERM_SAVE DEFAULT_VIMRC > OPTIONS_SINGLE= UI ... > > +OPTIONS_DEFAULT+= DEFAULT_VIMRC > + ... > +.if ${PORT_OPTIONS:MDEFAULT_VIMRC} > + ${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${DEFAULT_VIMRC_LOCATION}/vimrc > +.endif > ... Thanks for installing a default vimrc file, but isn't it safer to install the vimrc file with the @sample macro to protect users having already a own vimrc file installed? -- olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54687C89.20206>