" ======================================================================================================================
" GUI_DEFAULTS:
" We want to have a minimal UI
" ======================================================================================================================
if has("gui_running")
set guicursor=a:block-blinkon100
set browsedir=buffer
set toolbar+=text
set guiheadroom=0
set guioptions+=eig
set guioptions-=T | " toolbar
set guioptions+=c | " use console dialogues instead of popups
set guioptions+=a | " auto select: copy&paste using middle click
set guioptions+=m | " remove menu
set guioptions-=e | " do not display tabs
set guioptions-=L | " do not show left scrollbar
set guioptions-=r | " do not show right scrollbar
set winaltkeys=menu | " behave like other windows: ALT-key can be used to open the menu (and cannot be :remaped)
" set selectmode=mouse,key,cmd | " enters vim's select mode when pressing shift-left or shift-END
" set keymodel=startsel,stopsel | " makes shift-left, shift-right available for selecting text
set background=light
" its possible to define alternative fonts (order matters), but we will
" use the systems default font and cofigure that if necessary
set guifont=Monospace\ 10
" like in the terminal: use Ctrl-shift-v for paste in vim's command editor
cnoremap <c-s-v> <c-r>*
endif