diff options
author | Max Christian Pohle | 2018-10-22 00:02:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-10-22 20:42:25 +0200 |
commit | f2e01d7e513067ddb57c75f6e38cdcf434946cf8 (patch) | |
tree | 4e8448506756d2144db173d01385798840507133 /gvimrc | |
parent | 31f80d9c334e38e486545407ea5eb5f5cbb2f07d (diff) | |
download | vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.tar.bz2 vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.zip |
Major refactoring for version 2.0
vim-plug has been removed and replaced with Vims internal bundle
mechanism. But I already noticed, that there is also GLVM now and
started trying that as well.
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 | ||