feat(nvim): use osc52
copy for vim clipboard
See https://github.com/neovim/neovim/pull/25872
This commit is contained in:
parent
d85545c767
commit
f63c87750e
@ -2,6 +2,18 @@ local g = vim.g
|
|||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.setup = function() end
|
M.setup = function()
|
||||||
|
vim.g.clipboard = {
|
||||||
|
name = 'OSC 52',
|
||||||
|
copy = {
|
||||||
|
['+'] = require('vim.clipboard.osc52').copy,
|
||||||
|
['*'] = require('vim.clipboard.osc52').copy,
|
||||||
|
},
|
||||||
|
paste = {
|
||||||
|
['+'] = require('vim.clipboard.osc52').paste,
|
||||||
|
['*'] = require('vim.clipboard.osc52').paste,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user