Compare commits

..

2 Commits

Author SHA1 Message Date
Vasili Svirydau
210763ae2d chore: formatting 2026-05-06 10:57:22 -07:00
Vasili Svirydau
9629c3ba25 chore: deeper nvim integration 2026-05-06 10:54:57 -07:00

View File

@@ -20,6 +20,7 @@ vim.keymap.set("n", "<space>", "zz")
vim.keymap.set("n", "<leader>w", ":update<cr>")
vim.keymap.set("n", "<c-p>", ":Pick files<cr>")
vim.keymap.set("n", "<leader>h", ":Pick help<cr>")
vim.keymap.set("n", "<leaver>cz", function() require("chezmoi.pick").mini() end) -- Pick from chezmoi managed files
vim.pack.add(
{
@@ -91,5 +92,38 @@ vim.diagnostic.config({ virtual_text = false })
-- Chezmoi
require("chezmoi").setup {
edit = {
watch = false,
force = false,
ignore_patterns = {
"run_onchange_.*",
"run_once_.*",
"%.chezmoiignore",
"%.chezmoitemplate",
-- Add custom patterns here
},
},
events = {
on_open = {
notification = {
enable = true,
msg = "Opened a chezmoi-managed file",
opts = {},
},
},
on_watch = {
notification = {
enable = true,
msg = "This file will be automatically applied",
opts = {},
},
},
on_apply = {
notification = {
enable = true,
msg = "Successfully applied",
opts = {},
},
},
},
}