set mousemodel=popup " right mouse button pops up a menu in the GUI " set the X11 font to use " " this may need to be set for a newer host " set guifont=DejaVu\ Sans\ Mono\ 11 if $OS ==# 'Windows_NT' if has("xterm_clipboard") set guifont=DejaVu\ Sans\ Mono\ 12 else set guifont=DejaVu_Sans_Mono:h10:cANSI endif set winaltkeys=no endif if hostname() ==# 'gd' set guifont=DejaVu\ Sans\ Mono\ 13 endif if hostname() ==# 'jl' set guifont=DejaVu\ Sans\ Mono\ 11 endif set guicursor=a:blinkwait1000-blinkon10000-blinkoff100 "here are the defaults: "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 "Crude way of maximizing when the console is small. optimized for my system. if &columns < 60 || &lines <20 || exists("$DMAXVIM") set columns=158 set lines=51 endif "remove menu and button stuff. set go-=m set go-=T " no right scrollbar set go-=r "use non gui tabline, stops maxmized kde bug. set go-=e "use console prompts set go+=c " no left scrollbar set go-=L " 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! *