svn commit: r372622 - in head/editors/vim: . files
olli hauer
ohauer at gmx.de
Sun Nov 16 10:29:28 UTC 2014
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
More information about the svn-ports-head
mailing list