blob: 7aaa53ef3e3b018202e56cc5cb977bef1d3bcb01 [file] [log] [blame]
Skyler Grey012022a2023-01-26 00:38:15 +00001if exists('+termguicolors')
2 let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
3 let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
4 set termguicolors
5endif
6colorscheme onehalfdark
7
8call g:Highlight("PmenuSbar", g:statusline, g:statusline)
9call g:Highlight("PmenuThumb", g:white, g:white)
10call g:Highlight("PmenuSel", g:transparent, g:lightgrey)
11call g:Highlight("Pmenu", g:transparent, g:statusline)
12
13call g:Highlight("HlSearchLens", g:darkyellow, g:transparent)
14call g:Highlight("HlSearchLensNear", g:white, g:darkyellow)
15
16set signcolumn=yes
17set guicursor=v-r-cr:hor50,i:ver50
18set guifont=Liga\ Roboto\ Mono:h12
19set splitright
20set splitbelow
21set scrolloff=3
22set number
23
Skyler Greydae36af2023-03-12 00:33:30 +000024" set textwidth=80
Skyler Grey012022a2023-01-26 00:38:15 +000025set colorcolumn=+1
26call g:Highlight("ColorColumn", g:transparent, g:statusline)
27
28set number
29
30augroup numbertoggle
31 autocmd!
32 autocmd BufEnter,FocusGained,InsertLeave,WinEnter * if &nu && mode() != "i" | set rnu | endif
33 autocmd BufLeave,FocusLost,InsertEnter,WinLeave * if &nu | set nornu | endif
34augroup END
35