diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ set restorescreen | " restores the console after exiting vim (intentionally no | |||
12 | autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") | 12 | autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") |
13 | 13 | ||
14 | 14 | ||
15 | xnoremap "+y y:call system("wl-copy", @")<cr> | ||
16 | |||
15 | " scripts from the default vim installation, which do not get loaded by default, but are useful. | 17 | " scripts from the default vim installation, which do not get loaded by default, but are useful. |
16 | if filereadable($VIMRUNTIME.'/macros/editexisting.vim') | 18 | if filereadable($VIMRUNTIME.'/macros/editexisting.vim') |
17 | packadd! editexisting | 19 | packadd! editexisting |