aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 9af1a75..3a120e1 100644
--- a/vimrc
+++ b/vimrc
@@ -161,3 +161,6 @@ nnoremap K <nop>
" Do nothing for <c-o>. I don't use this feature and it confuses me whenever I
" misstype <c-p> (CtrlP plugin).
nnoremap <c-o> <nop>
+
+" Set paste temporarily to just paste what we have on the registry.
+nnoremap <leader>p :set paste<cr>p:set nopaste<cr>