1 set mousemodel=popup " right mouse button pops up a menu in the GUI
2 " set the X11 font to use
4 " this may need to be set for a newer host
5 " set guifont=DejaVu\ Sans\ Mono\ 11
6 if $OS ==# 'Windows_NT'
7 if has("xterm_clipboard")
8 set guifont=DejaVu\ Sans\ Mono\ 12
10 set guifont=DejaVu_Sans_Mono:h10:cANSI
15 if hostname() ==# 'gd'
16 set guifont=DejaVu\ Sans\ Mono\ 13
18 if hostname() ==# 'jl'
19 set guifont=DejaVu\ Sans\ Mono\ 11
22 set guicursor=a:blinkwait1000-blinkon10000-blinkoff100
23 "here are the defaults:
24 "set guicursor=n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
26 "Crude way of maximizing when the console is small. optimized for my system.
27 if &columns < 60 || &lines <20 || exists("$DMAXVIM")
31 "remove menu and button stuff.
36 "use non gui tabline, stops maxmized kde bug.
43 " Use a sufficiently wide window automatically when started as "gvimdiff"
44 if (&foldmethod == 'diff')
48 " For bug 33327, add a mapping which allows shift-insert to function
49 " as expected in insert and command-line modes
50 map! <s-insert> <c-r>*