From ac8ae24d73edd1c12aa05e2b9f497df1bf09ebd2 Mon Sep 17 00:00:00 2001 From: Micha Moskovic Date: Tue, 7 Jan 2014 11:46:55 +0100 Subject: [PATCH] Link 'IncSearch' for default highlight group The previous green one is completely arbitrary and looks ugly with some colorschemes. --- plugin/exchange.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/exchange.vim b/plugin/exchange.vim index 066f4fe..0f2902d 100644 --- a/plugin/exchange.vim +++ b/plugin/exchange.vim @@ -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 (Exchange) :set opfunc=exchange_setg@ vnoremap (Exchange) :call exchange_set(visualmode(), 1)