Skip to content
Browse files

smarter pasting

  • Loading branch information...
1 parent 66d5388 commit b7dad58a006b56687e6229d2cc43877e1d4833e0 @mkomitee committed Jul 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vim/vimrc
4 vim/vimrc
@@ -297,7 +297,9 @@ nnoremap <leader>sgv :so $MYGVIMRC<CR>
cmap w!! w !sudo tee % >/dev/null<cr>
" Smarter Pasting!
-nnoremap <Leader>P :set paste<CR>"*p;set nopaste<CR>
+noremap <Leader>P :set paste<CR>"*p;set nopaste<CR>
+noremap <leader>y "*y
+noremap <leader>Y "*Y
" Ctrl+P
let g:ctrlp_extensions = ['tag', 'buffertag', 'quickfix', 'dir']

0 comments on commit b7dad58

Please sign in to comment.
Something went wrong with that request. Please try again.