Browse files

Remove `unnamedplus' from clipboard in addition to `unnamed'

Vim 7.3.074 adds the `unnamedplus' feature to the clipboard option,
which allows use of the "+ register (X11 CLIPBOARD) via yank/paste
  • Loading branch information...
1 parent 9b898d3 commit 2f4bb087756084fe703bd8b23c267d799e866ef0 guns committed with Jan 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/unimpaired.vim
View
2 plugin/unimpaired.vim
@@ -219,7 +219,7 @@ endfunction
function! s:Transform(algorithm,type)
let sel_save = &selection
let cb_save = &clipboard
- set selection=inclusive clipboard-=unnamed
+ set selection=inclusive clipboard-=unnamed clipboard-=unnamedplus
let reg_save = @@
if a:type =~ '^\d\+$'
silent exe 'norm! ^v'.a:type.'$hy'

0 comments on commit 2f4bb08

Please sign in to comment.