Skip to content

Commit

Permalink
Leader-p shortcut for pasting text from the system clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
robmiller committed Dec 10, 2013
1 parent 82dd3ce commit d4e4f9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ nnoremap <leader>[ f,a<CR><ESC>
nnoremap <leader>t :TagbarToggle<CR>
" Select just-pasted text
nnoremap gp `[v`]
" Set paste, paste, set nopaste
nnoremap <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
" Commands for quickly editing and reloading this file
nnoremap <leader>ev :sp $MYVIMRC<CR>
Expand Down

0 comments on commit d4e4f9b

Please sign in to comment.