FS#14717 - [vim] no custom settings by default
Attached to Project:
Arch Linux
Opened by Caleb Cushing (xenoterracide) - Thursday, 14 May 2009, 15:04 GMT
Last edited by Tobias Kieslich (tobias) - Sunday, 13 September 2009, 22:48 GMT
Opened by Caleb Cushing (xenoterracide) - Thursday, 14 May 2009, 15:04 GMT
Last edited by Tobias Kieslich (tobias) - Sunday, 13 September 2009, 22:48 GMT
|
Details
I had to set these
set noincsearch set mouse="" it's very annoying to have to install arch and go through figuring out what you guys set for vim defaults and how to undo them. please do not change defaults from upstream. I'm sure there are more changes than just these 2... if you want to make changes like these put them in /etc/skel/.vimrc so they are at least very visible and very removable. 'mouse' string (default "", "a" for GUI, MS-DOS and Win32) global 'incsearch' 'is' boolean (default off) |
This task depends upon
Closed by Tobias Kieslich (tobias)
Sunday, 13 September 2009, 22:48 GMT
Reason for closing: Fixed
Additional comments about closing: vim, defaults are now very barebone:
/etc/vimrc is a system wide default which will not be touched by pacman,
/usr/share/vim/vimfiles/archlinux.vim is very sparse and touches almost no behaviour except it makes the middle mouse button working in gvim
Sunday, 13 September 2009, 22:48 GMT
Reason for closing: Fixed
Additional comments about closing: vim, defaults are now very barebone:
/etc/vimrc is a system wide default which will not be touched by pacman,
/usr/share/vim/vimfiles/archlinux.vim is very sparse and touches almost no behaviour except it makes the middle mouse button working in gvim
and I've used vim in gentoo, windows, suse, centos, ubuntu (and more?) and never before encountered these settings. yet when I moved to arch I had to counter them. I'm not sure how they've been changed... I haven't investigated much yet. I assume that somehow in the vi/vim/gvim setups you've installed custom rc's. I also understand that problem is being worked on... and it had its own set of rc issues.
All that is at least true for the new vim in testing.
from my irc conversation on #vim
[15:45] <xenoterracide> is vimrc_example.vim meant to e used as a default vimrc? I started a discussion with arch developers over defaults and apparently they use that file for /etc/vimrc which disagrees with vim documentation on just what defaults are
[15:46] <graywh> xenoterracide, no, the arch devs are "confused"
[15:46] <jamessan> xenoterracide, no it's meant as an example of common settings for you to read and make a decision about which settings you want to use
[15:56] <jamessan> (which is why I recently changed Debian's packaging not to enable them by default)
Anyway. Guess who's to blame for all these. Its the Vim developers. If the vimrc example gives bad examples tell them to change it themselves. Its their software. Whats the point in an example configuration file if it doesnt give you helpful tips?
See http://www.guninski.com/vim1.html . But I guess thats not important enough to give a hint in the example config file.