diff --git a/plugin/exchange.vim b/plugin/exchange.vim index 5d3483c..c37341b 100644 --- a/plugin/exchange.vim +++ b/plugin/exchange.vim @@ -326,10 +326,10 @@ endfunction highlight default link ExchangeRegion IncSearch -nnoremap (Exchange) :set operatorfunc=exchange_setg@ +nnoremap (Exchange) ':set operatorfunc=exchange_set'.v:count1.'g@' vnoremap (Exchange) :call exchange_set(visualmode(), 1) nnoremap (ExchangeClear) :call exchange_clear() -nnoremap (ExchangeLine) :set operatorfunc=exchange_setg@_ +nnoremap (ExchangeLine) ':set operatorfunc=exchange_set'.v:count1.'g@_' command! XchangeHighlightToggle call s:highlight_toggle() command! XchangeHighlightEnable call s:highlight_toggle(1)