Update; Add nice ripgrep search

This commit is contained in:
Martin Pander
2026-04-20 12:33:17 +02:00
parent 50b95c9721
commit 360789b171
3 changed files with 40 additions and 13 deletions

View File

@@ -66,7 +66,19 @@ vim.opt.directory = swapdir .. "," .. temp
-------- CLIPBOARD ---------
----------------------------
if vim.fn.has("wsl") == 1 then
vim.opt.clipboard = vim.opt.clipboard + 'unnamedplus'
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,
}
vim.opt.clipboard = 'unnamedplus'
end