From 3f22313f7350676e820c4d3955b79386a5263bb1 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Sat, 25 Jun 2022 00:00:41 +0100 Subject: [PATCH] enable wayland --- executable_dot_vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/executable_dot_vimrc b/executable_dot_vimrc index ff64e2c..29a7132 100644 --- a/executable_dot_vimrc +++ b/executable_dot_vimrc @@ -52,9 +52,9 @@ vmap "+y "nmap v"+y " support wayland -" xnoremap "+y y:call system("wl-copy", @") -" nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '', '', 'g')p -" nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '', '', 'g')p +xnoremap "+y y:call system("wl-copy", @") +nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '', '', 'g')p +nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '', '', 'g')p vmap "+c "map "+gP