Change search hightlight to colours not in monokai palette

This commit is contained in:
Patrick Stockwell
2020-05-10 15:46:32 +10:00
parent e6a52f2a5c
commit dd4dfb708c
2 changed files with 26 additions and 7 deletions

View File

@@ -91,9 +91,15 @@ colorscheme vim-monokai-tasty " set the colorscheme
let g:airline_theme='monokai_tasty' " airline theme
let g:lightline = { 'colorscheme': 'monokai_tasty' } " lightline theme
" `What` will print out the syntax group that the cursor is currently above.
" If you don't like a particular colour choice from `vim-monokai-tasty`, you can
" override it here. For example, to change the colour of the search hightlight:
hi Search guifg=#bada55 guibg=#000000 gui=bold ctermfg=green ctermbg=black cterm=bold
" If you don't know what the name of a particular hightlight is, you can use
" `What`. It will print out the syntax group that the cursor is currently above.
" from https://www.reddit.com/r/vim/comments/6z4aau/how_to_stop_vim_from_autohighlighting_italics_in/
command! What echo synIDattr(synID(line('.'), col('.'), 1), 'name')
```
## :art: Colour palette