From 1e22ee7013d701426751c1b474ed0670892a5ca2 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 28 Sep 2023 23:45:11 +0200 Subject: [PATCH] vimrc: fix wayland clipboard --- .vim/vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 1692f4f..0c78781 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -851,6 +851,15 @@ nmap g :TestVisit " partially superseded by jasonccox/vim-wayland-clipboard (for "+) " still keeping the "* mappings +" it however breaks +augroup wlclfixes + autocmd! + autocmd BufEnter * nunmap + + autocmd BufEnter * nunmap + + autocmd BufEnter * nunmap + + autocmd BufEnter * nunmap + +augroup END + " ------ wayland copy and pasting let s:env = toupper(substitute(system('uname'), '\n', '', '')) if s:env =~# 'LINUX' && executable('wl-copy')