Update terminal colors, vim and alacritty

This commit is contained in:
Vladan Popovic 2019-08-02 22:36:04 +02:00
parent 85b776daf0
commit 92b09b3a8b
2 changed files with 10 additions and 3 deletions

View file

@ -35,8 +35,14 @@ match WhitespaceEOL /\s\+\%#\@<!$/
nnoremap <C-k> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar><CR>
" Much better with Tomorrow Night Bright color theme set in alacritty
set background=light
set background=dark
highlight Search ctermfg=Black
highlight Comment ctermfg=Grey
highlight SignColumn ctermbg=236
highlight LineNr ctermfg=244
highlight LineNr ctermbg=232
highlight Folded ctermbg=DarkGreen
highlight Folded ctermfg=Black
" ALE colors
highlight ALEWarning ctermbg=Yellow
@ -54,6 +60,7 @@ autocmd FileType rust nmap gd <Plug>(rust-def)
autocmd FileType rust nmap gs <Plug>(rust-def-split)
autocmd FileType rust nmap gx <Plug>(rust-def-vertical)
autocmd FileType rust nmap <leader>gd <Plug>(rust-doc)
autocmd FileType rust set number
" Toggles on different plugins/modes
noremap <F1> :ToggleMouse<CR>