Permalink
Browse files

pasteの部分を@@から@"に変更した

  • Loading branch information...
1 parent fdfc529 commit f0077df35bef6a64db117e6fb130b9c89fe0e33a @tmsanrinsha committed Jan 5, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 .cvimrc
View
@@ -65,9 +65,10 @@ endif
" clipboard {{{
" ==============================================================================
function! s:Paste64Copy() range
- let l:tmp = @@
+ let l:tmp = @"
silent normal gvy
- let l:selected = @@
+ let l:selected = @"
+ let @" = l:tmp
let l:i = 0
let l:len = strlen(l:selected)
let l:escaped = ''
@@ -82,7 +83,6 @@ function! s:Paste64Copy() range
endwhile
call system('echo -en "' . l:escaped . '" | pbcopy > /dev/tty')
redraw!
- let @@ = l:tmp
endfunction
command! -range Paste64Copy :call s:Paste64Copy()

0 comments on commit f0077df

Please sign in to comment.