diff options
| author | Chris Toomey | 2014-02-17 14:26:23 -0500 | 
|---|---|---|
| committer | Chris Toomey | 2014-02-17 14:26:23 -0500 | 
| commit | b72b05e853322297f6ecda523fef55c5d3899595 (patch) | |
| tree | a5019a806ed150582da3d163b1526f295ec4e623 | |
| parent | 37e585fc59f174706817ebf2e821c5080716cf24 (diff) | |
| download | vim-system-copy-b72b05e853322297f6ecda523fef55c5d3899595.tar.bz2 | |
Add SystemCopyLine support
| -rw-r--r-- | plugin/system_copy.vim | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/plugin/system_copy.vim b/plugin/system_copy.vim index 98b7d0b..11beee6 100644 --- a/plugin/system_copy.vim +++ b/plugin/system_copy.vim @@ -38,6 +38,7 @@ endfunction  xnoremap <silent> <Plug>SystemCopy :<C-U>call <SID>system_copy(visualmode(),visualmode() ==# 'V' ? 1 : 0)<CR>  nnoremap <silent> <Plug>SystemCopy :<C-U>set opfunc=<SID>system_copy<CR>g@ +nnoremap <silent> <Plug>SystemCopyLine :<C-U>set opfunc=<SID>system_copy<Bar>exe 'norm! 'v:count1.'g@_'<CR>  if !hasmapto('<Plug>SystemCopy') || maparg('cp','n') ==# ''    xmap cp <Plug>SystemCopy | 
