summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2004-11-25 16:47:12 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2004-11-25 16:47:12 +0000
commit8026a3ee92ba3a6cea8efcc107b079f7b3163ebc (patch)
tree6f0b88a58ad0cbe256c6e095d5a359a9b183f453 /app-editors/vim-core
parentMarking 2.0.1 stable on x86. (diff)
downloadgentoo-2-8026a3ee92ba3a6cea8efcc107b079f7b3163ebc.tar.gz
gentoo-2-8026a3ee92ba3a6cea8efcc107b079f7b3163ebc.tar.bz2
gentoo-2-8026a3ee92ba3a6cea8efcc107b079f7b3163ebc.zip
Turn on ftplugins by default, more comments
Diffstat (limited to 'app-editors/vim-core')
-rw-r--r--app-editors/vim-core/ChangeLog5
-rw-r--r--app-editors/vim-core/files/vimrc13
2 files changed, 17 insertions, 1 deletions
diff --git a/app-editors/vim-core/ChangeLog b/app-editors/vim-core/ChangeLog
index 7a828540ba67..6494aa615def 100644
--- a/app-editors/vim-core/ChangeLog
+++ b/app-editors/vim-core/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/vim-core
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/ChangeLog,v 1.107 2004/10/20 14:18:46 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/ChangeLog,v 1.108 2004/11/25 16:47:12 ciaranm Exp $
+
+ 25 Nov 2004; Ciaran McCreesh <ciaranm@gentoo.org> files/vimrc:
+ Turn on ftplugins by default, more comments
20 Oct 2004; Akinori Hattori <hattya@gentoo.org> vim-core-6.3-r2.ebuild:
stable on ia64, bug #66772
diff --git a/app-editors/vim-core/files/vimrc b/app-editors/vim-core/files/vimrc
index ead2f3424df6..89378589d09a 100644
--- a/app-editors/vim-core/files/vimrc
+++ b/app-editors/vim-core/files/vimrc
@@ -1,6 +1,7 @@
" Default configuration file for Vim
" Written by Aron Griffis <agriffis@gentoo.org>
" Modified by Ryan Phillips <rphillips@gentoo.org>
+" Modified some more by Ciaran McCreesh <ciaranm@gentoo.org>
" Added Redhat's vimrc info by Seemant Kulleen <seemant@gentoo.org>
" The following are some sensible defaults for Vim for most users.
@@ -19,6 +20,8 @@ set ruler " Show the cursor position all the time
" according to conversation on vim devel ML:
" http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212696
" http://article.gmane.org/gmane.editors.vim.devel/4410
+" If you're not paranoid, feel free to delete this line or override it in
+" your ~/.vimrc -- there aren't any known security issues with this any more.
set nomodeline
if v:lang =~ "^ko"
@@ -59,6 +62,14 @@ if &term=="xterm"
set ttymouse=xterm2 " only works for >=xfree86-3.3.3, should be okay
endif
+" Enable plugin-provided filetype settings
+filetype plugin on
+
+" Uncomment the next line (or copy to your ~/.vimrc) for plugin-provided
+" indent settings. Some people don't like these, so we won't turn them on by
+" default.
+" filetype indent on
+
if has("autocmd")
augroup gentoo
@@ -67,6 +78,8 @@ augroup gentoo
" Gentoo-specific settings for ebuilds. These are the federally-mandated
" required tab settings. See the following for more information:
" http://www.gentoo.org/doc/en/xml/gentoo-howto.xml
+ " Better yet, emerge app-vim/gentoo-syntax and you'll get full syntax,
+ " filetype and indent settings for all things Gentoo.
au BufRead,BufNewFile *.e{build,class} let is_bash=1|setfiletype sh
au BufRead,BufNewFile *.e{build,class} set ts=4 sw=4 noexpandtab