diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index a8366f9..806eff5 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -135,15 +135,13 @@ elseif g:uname ==? 'Linux' "" Linux specific stuff xnoremap "+y y:call system("wl-copy", @") map "+p :let @"=substitute(system('wl-paste --no-newline'), '', '', 'g') \| exec 'normal! ' . v:count1 . 'p' - map "*p :let @"=substitute(system('wl-paste --no-newline --primary'), '', '', 'g') \| exec 'normal! ' . v:count1 . 'P' else "" Unknown platform endif " Add shortcuts to yank/paste to unnamed/unnamedplus clipboards map y "+y -map p "+P -map P "*p +map p "+p map yp yankstack_substitute_older_paste map yn yankstack_substitute_newer_paste