mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Update everything, fix opencode/nvim stuff
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user