Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16451 - [vim] add an optional enhanced vimrc file

Attached to Project: Arch Linux
Opened by Matěj Týč (bubla) - Saturday, 03 October 2009, 21:44 GMT
Last edited by Dan Griffiths (Ghost1227) - Friday, 12 February 2010, 20:06 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since the last upgrade of vim, it ships with the very basic /etc/vimrc file.
Most users would probably like to keep features like mouse support, auoto indentaion, multi colours etc.
I suggest that a file /etc/vimrc.enhanced is shipped in the vim package and that there is a install message telling the user that he/she might want to use that file (like mentioning it in the original vimrc) to easily enhance vim functionality.

I have found smart examples in the forums:
http://bbs.archlinux.org/viewtopic.php?id=62748
and
http://bbs.archlinux.org/viewtopic.php?id=81242

Although some things are controversial (using spaces instead of tabs, tab width) and probably should be left commented out, others are probably universaly beneficial (like 256 colors palette and other things like syntax highlighting mentioned above).
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Friday, 12 February 2010, 20:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  A line has been added to the default vimrc informing the user how to revert to the old functionality. If you don't want it, leave it commented.
Comment by Tobias Kieslich (tobias) - Saturday, 03 October 2009, 23:56 GMT
The topic of vimrc was a sensitive one, because people don't wanna have messed with their configs. And even if we start shipping an example vimrc the nazis will show up again and tell me what we shall have in the example and what is appropriate etc and I'm just through messing with idiots.

On a more rational note, the vimrc contains a comment that links people to the original vimrc_example file which we still ship. I'm also fine with providing a link to the arch wiki where people can consolidate the wisdom from the forum threads. But shipping an example file is just opening a can of worms. I'm not into worms, sorry.
Comment by Matěj Týč (bubla) - Monday, 05 October 2009, 21:17 GMT
You don't have to be sorry, I got your point. Although I think that some forum poll when top three files get shipped could do it. Maybe you can do that when the frontpage will lack news for a long time :-)
However, the example file is located at /usr/share/vim/vim72/vimrc_example.vim on my system, not at /usr/share/vim/vimcurrent/vimrc_example.vim as announced in the vimrc file. But in fact it does not matter.
So now I suggest modifying the vimrc file like adding these two lines somewhere

" uncomment the line below to restore the 'old days' vim functionality
" runtime! vimrc_example.vim
Comment by Tobias Kieslich (tobias) - Monday, 05 October 2009, 23:23 GMT
that sounds like a plan, let's see how it pans out
Comment by Todd Partridge (Gen2ly) - Thursday, 19 November 2009, 16:03 GMT
Just upgraded vim and still got this, any update on this? I don't think that vim.enhanced is necessary but alot of distributions packages use the example file as default. Maybe it would be better if a 'backup=' option was made available, then we could merge the file when updates come?
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 28 November 2009, 01:26 GMT
I'd also like this. Just discovered this after a fresh installation and now I need to manually configure vim :(.

Loading...