From 4f195e32613cf31b4ca5bbf01b3d53e000b048b0 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Fri, 10 Apr 2020 11:33:23 +0200 Subject: [PATCH] Add shortcut for global clipboard copy and paste --- dotfiles/vim/vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 1fac7be..1d744b8 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -25,6 +25,12 @@ nmap :w " in insert mode F2 will exit insert, save, enters insert again imap :wi +" in normal mode y will save to the selection clipboard +nmap y "*yy + +" in normal mode p will paste from the selection clipboard +nmap p "*p + " }}} " VUNDLE {{{