diff --git a/.vim/vimrc b/.vim/vimrc index 0c78781..e790a2d 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -852,13 +852,20 @@ 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 +if v:vim_did_enter + nunmap + + nunmap + + nunmap + + nunmap + +else + augroup wlclfixes + autocmd! + autocmd VimEnter * nunmap + + autocmd VimEnter * nunmap + + autocmd VimEnter * nunmap + + autocmd VimEnter * nunmap + + augroup END +endif " ------ wayland copy and pasting let s:env = toupper(substitute(system('uname'), '\n', '', ''))