From a6cdae262df868ff79c32dca3b61686ef5c8e433 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 12 Sep 2019 19:44:24 +0200 Subject: Improved Java support & minor fixes --- vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index cc4cae8..6f80d2f 100644 --- a/vimrc +++ b/vimrc @@ -12,6 +12,8 @@ set restorescreen | " restores the console after exiting vim (intentionally no autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") +xnoremap "+y y:call system("wl-copy", @") + " scripts from the default vim installation, which do not get loaded by default, but are useful. if filereadable($VIMRUNTIME.'/macros/editexisting.vim') packadd! editexisting -- cgit v1.2.3