-
Notifications
You must be signed in to change notification settings - Fork 0
/
ginit.vim
43 lines (34 loc) · 906 Bytes
/
ginit.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
" Disable Mouse
set mouse=
if (has('win32'))
set guifont=FiraCode\ NF:h11
" set linespace=-4
else
set guifont=FiraCode\ Nerd\ Font:h13
" set linespace=-6
endif
if exists(':GuiFont')
" Use GuiFont! to ignore font errors
if (has ('win32'))
GuiFont! FiraCode NF:h11
else
GuiFont! FiraCode Nerd Font:h13
endif
endif
" Disable GUI Tabline
if exists(':GuiTabline')
GuiTabline 0
endif
" Disable GUI Popupmenu
if exists(':GuiPopupmenu')
GuiPopupmenu 0
endif
" Enable GUI ScrollBar
if exists(':GuiScrollBar')
GuiScrollBar 0
endif
" " Right Click Context Menu (Copy-Cut-Paste)
" nnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>
" inoremap <silent><RightMouse> <Esc>:call GuiShowContextMenu()<CR>
" xnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>gv
" snoremap <silent><RightMouse> <C-G>:call GuiShowContextMenu()<CR>gv