svn commit: r372622 - in head/editors/vim: . files

David Chisnall theraven at FreeBSD.org
Sun Nov 16 19:37:26 UTC 2014


On 16 Nov 2014, at 11:35, Baptiste Daroussin <bapt at FreeBSD.org> wrote:

> That said isn't using the default upstream provided vimrc a better option than a
> custom one?
> /usr/local/share/vim/vim74/vimrc_example.vim as vimrc
> and probably /usr/local/share/vim/vim74/gvimrc_example.vim as gvimrc?

I think that would be better.  My .vimrc, as a result of following the instructions on the vim web site many years ago,
starts with:

source $VIMRUNTIME/vimrc_example.vim

Anyone following the vim upstream instructions will expect to be able to customise the settings by creating a .vimrc that starts like this and then overrides the things that they want to be different.

Thanks to everyone who's working on this: I recently had one of our students complain that vim on FreeBSD 'defaults to just plain vi' unlike the Linux distributions he was working on.  I hadn't noticed the difference, as my .vimrc is one of the first things I copy across to a new system, but on closer investigation he was right and the fix (for him) was trivial: that one-line .vimrc.  It would be great if people didn't have to bother with that: if you've gone to the trouble of installing vim (and typing vim instead of vi to launch it), it's probably because you want vim, not vi.

David



More information about the svn-ports-head mailing list