Diffview auto-refresh, yank file path key bindings

This commit is contained in:
2026-02-13 00:21:41 -05:00
parent ccebe78d4e
commit 7a00a8d47b
7 changed files with 289 additions and 21 deletions

View File

@@ -20,3 +20,19 @@ vim.opt.titlestring = "%{substitute(getcwd(),$HOME,'~','')} - Neovim"
vim.opt.fillchars:append({ diff = "" })
vim.opt.mousescroll = "ver:6,hor:6" -- better mouse scroll in hidpi mode
-- WSL2 clipboard support via win32yank
if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = "win32yank-wsl",
copy = {
["+"] = "win32yank.exe -i --crlf",
["*"] = "win32yank.exe -i --crlf",
},
paste = {
["+"] = "win32yank.exe -o --lf",
["*"] = "win32yank.exe -o --lf",
},
cache_enabled = true,
}
end