Skip to content

Commit

Permalink
simplify vim yanking to system clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Feb 9, 2012
1 parent ae61d88 commit 92bb32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ augroup END

set makeprg=python\ -m\ nose.core\ --machine-out

map <silent> <leader>y :<C-u>silent '<,'>w !pbcopy<CR>
map <leader>y "*y
" Make <leader>' switch between ' and "
nnoremap <leader>' ""yls<c-r>={'"': "'", "'": '"'}[@"]<cr><esc>
Expand Down

0 comments on commit 92bb32a

Please sign in to comment.