Skip to content

Commit

Permalink
Word around clipboard=unnamed in :Rinvert
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Mar 19, 2009
1 parent f67e287 commit 8df9ad0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions autoload/rails.vim
Expand Up @@ -3123,12 +3123,9 @@ function! s:Invert(bang)
if beg + 1 < end
exe (beg+1).",".(end-1)."delete _"
endif
if str != ""
let reg_keep = @"
let @" = str
exe beg."put"
if str != ''
exe beg.'put =str'
exe 1+beg
let @" = reg_keep
endif
endfunction

Expand Down

0 comments on commit 8df9ad0

Please sign in to comment.