Fix sshfs intricacies; Add todo cycle for markdown

This commit is contained in:
Martin Pander
2026-07-10 09:02:17 +02:00
parent 653ec4e4af
commit 5e0ebe4406
6 changed files with 131 additions and 62 deletions

View File

@@ -80,18 +80,24 @@ vim.g.clipboard = {
}
if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = 'WslClipboard',
copy = {
["+"] = 'win32yank.exe -i --crlf',
["*"] = 'win32yank.exe -i --crlf',
},
paste = {
["+"] = 'win32yank.exe -o --lf',
["*"] = 'win32yank.exe -o --lf',
},
cache_enabled = 0,
}
local function win32yank_works()
return os.execute("win32yank.exe -o >/dev/null 2>&1") == 0
end
if win32yank_works() then
vim.g.clipboard = {
name = 'WslClipboard',
copy = {
["+"] = 'win32yank.exe -i --crlf',
["*"] = 'win32yank.exe -i --crlf',
},
paste = {
["+"] = 'win32yank.exe -o --lf',
["*"] = 'win32yank.exe -o --lf',
},
cache_enabled = 0,
}
end
end
vim.opt.clipboard = 'unnamedplus'