Improve highlighting coverage

* Support gui
* Use colors available for terminals with 8 colors
This commit is contained in:
Tom McDonald 2014-01-05 11:06:07 -05:00
parent 53b2b497b0
commit d67bace226

View File

@ -183,7 +183,7 @@ function! s:create_map(mode, lhs, rhs)
endif
endfunction
highlight default ExchangeRegion ctermfg=235 ctermbg=33
highlight default ExchangeRegion ctermfg=7 ctermbg=2 guifg=#ffffff guibg=#66cc00
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>