Update; Add nice ripgrep search
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user