Link 'IncSearch' for default highlight group

The previous green one is completely arbitrary and looks ugly with some colorschemes.
This commit is contained in:
Micha Moskovic 2014-01-07 11:46:55 +01:00
parent d67bace226
commit ac8ae24d73

View File

@ -183,7 +183,7 @@ function! s:create_map(mode, lhs, rhs)
endif
endfunction
highlight default ExchangeRegion ctermfg=7 ctermbg=2 guifg=#ffffff guibg=#66cc00
highlight default link ExchangeRegion IncSearch
nnoremap <silent> <Plug>(Exchange) :<C-u>set opfunc=<SID>exchange_set<CR>g@
vnoremap <silent> <Plug>(Exchange) :<C-u>call <SID>exchange_set(visualmode(), 1)<CR>