Update everything, fix opencode/nvim stuff

This commit is contained in:
2026-04-27 18:24:56 +02:00
parent d1ba716721
commit 2941c39e4b
11 changed files with 80 additions and 37 deletions
+20
View File
@@ -100,6 +100,7 @@ return {
}
},
picker = {
main = { current = true },
win = {
input = {
keys = {
@@ -265,6 +266,25 @@ return {
require(".jj-snacks")
Snacks.picker.git_show = git_show
vim.g.unception_block_while_host_edits = 1
vim.api.nvim_create_autocmd("User", {
pattern = "UnceptionEditRequestReceived",
callback = function()
for _, terminal in ipairs(Snacks.terminal.list()) do
if terminal.opts.fixbuf ~= false then
terminal.opts.fixbuf = false
vim.api.nvim_create_autocmd("BufEnter", {
buffer = terminal.buf,
once = true,
callback = function()
terminal.opts.fixbuf = true
end,
})
end
end
end,
})
vim.keymap.set("n", "<leader>zz", function() Snacks.zen() end, { desc = "Toggle zen mode" })
vim.keymap.set("n", "<leader>f", function()