1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00

fix(clipboard): remove --nodetach option

This commit is contained in:
Martin Bångens 2022-11-21 00:53:58 +01:00 committed by GitHub
parent 4d02ee3f49
commit 3bea6df3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ function! s:set_command() abort
let yank = 'xclip -quiet -i -selection clipboard'
let paste = 'xclip -o -selection clipboard'
elseif !empty($DISPLAY) && executable('xsel')
let yank = 'xsel --nodetach -i -b'
let yank = 'xsel -i -b'
let paste = 'xsel -o -b'
elseif executable('lemonade')
let yank = 'lemonade copy'