diff options
author | Max Christian Pohle | 2023-10-20 16:43:03 +0200 |
---|---|---|
committer | Max Christian Pohle | 2023-10-20 17:36:48 +0200 |
commit | dd2623b7ce5f00ef9b1728efeef4538fd47a0d31 (patch) | |
tree | 71b4c7ad35ea258c359c4bd8d2ff9e494fadbfec /vimrc-common | |
parent | c0f915ed8c808c73195c90fdae62c19fc97a8d29 (diff) | |
parent | ebe1de13f1ae081af20ba22d7b62f7477d5062cd (diff) | |
download | vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.tar.bz2 vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.zip |
Merge Windows config
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') == '' |