-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgui.vim
More file actions
42 lines (32 loc) · 792 Bytes
/
gui.vim
File metadata and controls
42 lines (32 loc) · 792 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
35
36
37
38
39
40
41
42
" Enable true color mode.
set termguicolors
" Disable visual bell.
set visualbell t_vb=
" Set focus to follow mouse.
set mousefocus
" Set right mouse button action.
set mousemodel=extend
if exists(':GuiFont')
GuiFont! FiraCode Nerd Font:h13
endif
if exists(':GuiRenderLigatures')
GuiRenderLigatures 1
endif
if exists(':GuiTabline')
GuiTabline 0
endif
if exists(':GuiPopupmenu')
GuiPopupmenu 0
endif
if exists(':GuiScrollBar')
GuiScrollBar 0
endif
" Set color scheme and vim-airline theme dynamically.
let g:airline_theme = 'one'
set background=dark
" Set nvim-gtk settings.
if exists('g:GtkGuiLoaded')
call rpcnotify(1, 'Gui', 'Font', 'FiraCode Nerd Font 13')
call rpcnotify(1, 'Gui', 'Option', 'Tabline', 0)
call rpcnotify(1, 'Gui', 'Option', 'Popupmenu', 0)
endif