From: fbrehm Date: Mon, 20 Feb 2012 06:27:46 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ea90fb1fcecc21dea9785478bff9b01992a28382;p=config%2Fsamara%2Fetc.git committing changes in /etc after emerge run Package changes: +app-editors/gvim-7.3.266 --- diff --git a/.etckeeper b/.etckeeper index 8f193ed..a42e1ab 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1314,6 +1314,7 @@ maybe chmod 0644 './updatedb.conf' maybe chmod 0755 './vbox' maybe chmod 0644 './vbox/vbox.cfg' maybe chmod 0755 './vim' +maybe chmod 0644 './vim/gvimrc' maybe chmod 0644 './vim/vimrc' maybe chmod 0644 './wgetrc' maybe chmod 0644 './whois.conf' diff --git a/vim/gvimrc b/vim/gvimrc new file mode 100644 index 0000000..b1c2ff1 --- /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