nixvim: add undofile, scrolloff, wrap, yank highlight, j/k optimization

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-03-11 21:05:51 +09:00
co-authored by Claude Sonnet 4.6
parent a1cd573895
commit f8ae5e7d66
4 changed files with 33 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
{...}: {
programs.nixvim.autoCmd = [
# yank highlight
{
event = "TextYankPost";
callback.__raw = "function() vim.highlight.on_yank() end";
}
];
}