[FIX] paste buffers onlinux
This commit is contained in:
16
init.lua
16
init.lua
@@ -57,20 +57,4 @@ if vim.fn.has("wsl") == 1 then
|
|||||||
\ 'cache_enabled': 0,
|
\ 'cache_enabled': 0,
|
||||||
\ }
|
\ }
|
||||||
]])
|
]])
|
||||||
elseif vim.fn.has("unix") == 1 then
|
|
||||||
-- Native Linux-specific clipboard configuration
|
|
||||||
vim.cmd([[
|
|
||||||
let g:clipboard = {
|
|
||||||
\ 'name': 'LinuxClipboard',
|
|
||||||
\ 'copy': {
|
|
||||||
\ '+': 'xclip -selection clipboard',
|
|
||||||
\ '*': 'xclip -selection primary',
|
|
||||||
\ },
|
|
||||||
\ 'paste': {
|
|
||||||
\ '+': 'xclip -selection clipboard -o',
|
|
||||||
\ '*': 'xclip -selection primary -o',
|
|
||||||
\ },
|
|
||||||
\ 'cache_enabled': 0,
|
|
||||||
\ }
|
|
||||||
]])
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user