diff options
Diffstat (limited to 'gvimrc')
-rw-r--r-- | gvimrc | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ | |||
1 | " ====================================================================================================================== | ||
2 | " GUI_DEFAULTS: | ||
3 | " We want to have a minimal UI | ||
4 | " ====================================================================================================================== | ||
5 | |||
6 | if has("gui_running") | ||
7 | set guicursor=a:block-blinkon100 | ||
8 | set browsedir=buffer | ||
9 | set toolbar+=text | ||
10 | set guiheadroom=0 | ||
11 | set guioptions+=eig | ||
12 | set guioptions-=T | " toolbar | ||
13 | set guioptions+=c | " use console dialogues instead of popups | ||
14 | set guioptions+=a | " auto select: copy&paste using middle click | ||
15 | set guioptions+=m | " remove menu | ||
16 | set guioptions-=e | " do not display tabs | ||
17 | set guioptions-=L | " do not show left scrollbar | ||
18 | set guioptions-=r | " do not show right scrollbar | ||
19 | set winaltkeys=menu | " behave like other windows: ALT-key can be used to open the menu (and cannot be :remaped) | ||
20 | " set selectmode=mouse,key,cmd | " enters vim's select mode when pressing shift-left or shift-END | ||
21 | " set keymodel=startsel,stopsel | " makes shift-left, shift-right available for selecting text | ||
22 | |||
23 | " its possible to define alternative fonts (order matters), but we will | ||
24 | " use the systems default font and cofigure that if necessary | ||
25 | set guifont=Monospace\ 10 | ||
26 | |||
27 | " like in the terminal: use Ctrl-shift-v for paste in vim's command editor | ||
28 | cnoremap <c-s-v> <c-r>* | ||
29 | endif | ||