diff options
Diffstat (limited to 'vimrc-common')
| -rw-r--r-- | vimrc-common | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/vimrc-common b/vimrc-common index c7d450d..6c06c66 100644 --- a/vimrc-common +++ b/vimrc-common | |||
| @@ -221,9 +221,9 @@ if has("autocmd") | |||
| 221 | " Workaround: Allows Vim to yank text within wayland | 221 | " Workaround: Allows Vim to yank text within wayland | 
| 222 | " XDG_SESSION_TYPE is only set if a login manager was used | 222 | " XDG_SESSION_TYPE is only set if a login manager was used | 
| 223 | " WAYLAND_DISPLAY should always work | 223 | " WAYLAND_DISPLAY should always work | 
| 224 | if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) && !has('nvim') | 224 | " if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) && !has('nvim') | 
| 225 | autocmd TextYankPost * call system("wl-copy", getreg('+')) | 225 | " autocmd TextYankPost * call system("wl-copy", getreg('+')) | 
| 226 | endif | 226 | " endif | 
| 227 | 227 | ||
| 228 | autocmd TextYankPost * echo '> text yanked to '. | 228 | autocmd TextYankPost * echo '> text yanked to '. | 
| 229 | \ (get(v:event,'regname') == '' | 229 | \ (get(v:event,'regname') == '' | 
