-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnvimrc
executable file
·48 lines (43 loc) · 1.97 KB
/
gnvimrc
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
44
45
46
47
48
set visualbell t_vb=
" Gui font
" fc-cache -f -v
" fc-list | grep iosevka
" https://github.com/Iosevka-Mayukai/Iosevka-Mayukai
" Neovim-gtk
if exists('g:GtkGuiLoaded')
let g:zenbones_transparent_background = v:false
let g:neobones_transparent_background = v:false
let g:gruvbox_material_transparent_background = v:false
let g:sonokai_transparent_background = v:false
let g:edge_transparent_background = v:false
try
colorscheme tokyobones
catch
" echo 'Colorscheme not found'
endtry
" call rpcnotify(1, 'Gui', 'Option', 'Cmdline', 1)
call rpcnotify(1, 'Gui', 'Option', 'Popupmenu', 0)
call rpcnotify(1, 'Gui', 'Option', 'Tabline', 0)
if $HOSTNAME == 't430'
" call rpcnotify(1, 'Gui', 'Font', 'monospace 12')
" call rpcnotify(1, 'Gui', 'Font', 'Iosevka Term Regular 13')
" call rpcnotify(1, 'Gui', 'Font', 'Source Code Pro 11')
" call rpcnotify(1, 'Gui', 'Font', 'JetBrains Mono 11')
call rpcnotify(1, 'Gui', 'Font', 'Iosevka 12')
" call rpcnotify(1, 'Gui', 'Font', 'Fira Code 10')
else
" call rpcnotify(1, 'Gui', 'Font', 'monospace 10')
" call rpcnotify(1, 'Gui', 'Font', 'Iosevka Term Regular 13')
" call rpcnotify(1, 'Gui', 'Font', 'Iosevka Extended 14')
" call rpcnotify(1, 'Gui', 'Font', 'Cascadia Code Regular 12')
call rpcnotify(1, 'Gui', 'Font', 'Iosevka 12')
" call rpcnotify(1, 'Gui', 'Font', 'Fira Code 10')
" call rpcnotify(1, 'Gui', 'Font', 'JetBrains Mono 11')
" call rpcnotify(1, 'Gui', 'Font', 'Source Code Pro 11')
endif
" call rpcnotify(1, 'Gui', 'Command', 'PreferDarkTheme', 'on')
nnoremap <silent> <C-E> :NGToggleSidebar<cr>
endif
command! NGToggleSidebar call rpcnotify(1, 'Gui', 'Command', 'ToggleSidebar')
command! -nargs=+ NGTransparency call rpcnotify(1, 'Gui', 'Command', 'Transparency', <f-args>)
command! -nargs=1 NGPreferDarkTheme call rpcnotify(1, 'Gui', 'Command', 'PreferDarkTheme', <q-args>)