-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gvimrc
More file actions
34 lines (28 loc) · 831 Bytes
/
Copy path.gvimrc
File metadata and controls
34 lines (28 loc) · 831 Bytes
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
let s:font_name = 'HackGen'
let s:font_size = '14'
highlight! Pmenu guibg=#21222C ctermbg=235
highlight! PmenuSbar guibg=#21222C ctermbg=235
highlight! PmenuSel guibg=#44475A ctermbg=239
highlight! PmenuThumb guibg=#44475A ctermbg=239
set columns=140 lines=45
if exists('&renderoptions')
set renderoptions=type:directx,geom:1,renmode:5
endif
if exists('g:neovide')
let g:neovide_opacity = 0.9
let g:neovide_cursor_vfx_mode = "railgun"
endif
if has('win32') || has('gui_macvim')
let s:font_delim = ':h'
elseif has('wsl') && exists('g:neovide')
let s:font_delim = ':style=Regular\ '
elseif has('unix')
let s:font_delim = ' '
else
let s:font_delim = '\ '
endif
let &guifont = s:font_name .. s:font_delim .. s:font_size
augroup EqualizeWindows
autocmd!
autocmd VimResized * execute "normal \<C-w>="
augroup END