From: frank Date: Mon, 16 Jan 2012 17:26:33 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9d54f0963988a4d04d0c56d62765b44bc9ad990b;p=config%2Fbruni%2Fetc.git committing changes in /etc after emerge run Package changes: +app-editors/gvim-7.3.266 --- diff --git a/.etckeeper b/.etckeeper index 6a2829a0..f36ea5c1 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1102,6 +1102,7 @@ maybe chmod 0644 './unixODBC/odbc.ini' maybe chmod 0644 './unixODBC/odbcinst.ini' maybe chmod 0644 './updatedb.conf' maybe chmod 0755 './vim' +maybe chmod 0644 './vim/gvimrc' maybe chmod 0644 './vim/vimrc' maybe chmod 0644 './vim/vimrc.local' maybe chmod 0644 './wgetrc' diff --git a/vim/gvimrc b/vim/gvimrc new file mode 100644 index 00000000..b1c2ff1c --- /dev/null +++ b/vim/gvimrc @@ -0,0 +1,29 @@ +scriptencoding utf-8 +" ^^ Please leave the above line at the start of the file. + +" Default configuration file for gvim +" $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/files/gvimrc-r1,v 1.2 2010/04/15 19:49:14 darkside Exp $ +" +" Written by Aron Griffis +" +" This file is read AFTER normal Vim initializations, like reading your .vimrc +" file (and the default /usr/share/vim/vimrc). So there's no reason to +" duplicate settings from vimrc. Red Hat has had this wrong for years, to the +" great annoyance of users. + +" Pre-GUI settings +set columns=80 lines=30 " don't inherit geometry from parent term +set mousemodel=popup " right mouse button pops up a menu in the GUI + +" Use a sufficiently wide window automatically when started as "gvimdiff" +if (&foldmethod == 'diff') + set columns=165 +endif + +" For bug 33327, add a mapping which allows shift-insert to function +" as expected in insert and command-line modes +map! * + +if filereadable("/etc/vim/gvimrc.local") + source /etc/vim/gvimrc.local +endif