aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index ccbaab8..0ad9066 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -289,6 +289,10 @@ noremap <leader>pp :setlocal paste!<cr>
noremap <F1> <Esc>
inoremap <F1> <Esc>
+" Copy to and paste from the system clipboard
+vnoremap <leader>y "+y
+noremap <leader>p "+p
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions