diff options
author | Max Christian Pohle | 2023-10-20 16:43:03 +0200 |
---|---|---|
committer | Max Christian Pohle | 2023-10-20 17:36:48 +0200 |
commit | dd2623b7ce5f00ef9b1728efeef4538fd47a0d31 (patch) | |
tree | 71b4c7ad35ea258c359c4bd8d2ff9e494fadbfec /gvimrc | |
parent | c0f915ed8c808c73195c90fdae62c19fc97a8d29 (diff) | |
parent | ebe1de13f1ae081af20ba22d7b62f7477d5062cd (diff) | |
download | vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.tar.bz2 vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.zip |
Merge Windows config
Diffstat (limited to 'gvimrc')
-rw-r--r-- | gvimrc | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ | |||
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 | set background=light | ||
24 | " its possible to define alternative fonts (order matters), but we will | ||
25 | " use the systems default font and cofigure that if necessary | ||
26 | set guifont=Monospace\ 10 | ||
27 | |||
28 | " like in the terminal: use Ctrl-shift-v for paste in vim's command editor | ||
29 | cnoremap <c-s-v> <c-r>* | ||
30 | endif | ||