refine the wsl clipboard
This commit is contained in:
parent
beba8b3c51
commit
7d318b2512
@ -36,18 +36,18 @@ opt.splitright= true
|
|||||||
opt.shiftwidth = indent
|
opt.shiftwidth = indent
|
||||||
opt.tabstop = indent
|
opt.tabstop = indent
|
||||||
if vim.fn.has("wsl") == 1 then
|
if vim.fn.has("wsl") == 1 then
|
||||||
vim.g.clipboard = {
|
vim.g.clipboard = {
|
||||||
name = "win32yank-wsl",
|
name = 'WslClipboard',
|
||||||
copy = {
|
copy = {
|
||||||
["+"] = "win32yank.exe -i --crlf",
|
['+'] = 'win32yank.exe -i --crlf',
|
||||||
["*"] = "win32yank.exe -i --crlf",
|
['*'] = 'win32yank.exe -i --crlf',
|
||||||
},
|
},
|
||||||
paste = {
|
paste = {
|
||||||
["+"] = "win32yank.exe -o --lf",
|
['+'] = 'win32yank.exe -o --lf',
|
||||||
["*"] = "win32yank.exe -o --lf",
|
['*'] = 'win32yank.exe -o --lf',
|
||||||
},
|
},
|
||||||
cache_enabled = 0,
|
cache_enabled = 0,
|
||||||
}
|
}
|
||||||
opt.guifont= 'JetBrainsMonoNL NF:h9' -- https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/NoLigatures/Regular/complete/JetBrains%20Mono%20NL%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf
|
opt.guifont= 'JetBrainsMonoNL NF:h9' -- https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/NoLigatures/Regular/complete/JetBrains%20Mono%20NL%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf
|
||||||
elseif vim.loop.os_uname().sysname == 'Linux' then
|
elseif vim.loop.os_uname().sysname == 'Linux' then
|
||||||
opt.guifont= 'JetBrainsMono Nerd Font Mono:h7'
|
opt.guifont= 'JetBrainsMono Nerd Font Mono:h7'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user