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!
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!
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
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
|
DetailsDescription:
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.
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.
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.
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