summaryrefslogtreecommitdiff
blob: e7df461bc5bebdde085eaa7a9081a82a7a2696cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" Default configuration file for gvim
" Written by Aron Griffis <agriffis@gentoo.org>
"
" 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

" added to default to high security within Gentoo. Fixes #14088
"  -rphillips
set modelines=0

" Use a sufficiently wide window automatically when started as "gvimdiff"
if (&foldmethod == 'diff')
	set columns=165
endif