This commit is contained in:
Greg 2025-06-30 22:52:24 +03:00
parent 57c9c4fcf4
commit ddbb8b7d65
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,4 @@
vim.keymap.set({ "n", "v" }, "<C-s>", ":w ++p<CR>", { desc = "save file" }) vim.keymap.set({ "n", "v" }, "<C-s>", ":w ++p<CR>", { desc = "save file" })
vim.keymap.set({ "n", "v" }, "<C-S-s>", ":bufdo! w ++p<CR>", { desc = "save all buffers" })
vim.keymap.set("i", "<C-s>", "<Esc>:w ++p<CR>a", { desc = "save file" })
vim.keymap.set("n", "<leader>;", ":", { desc = "command with ;" }) vim.keymap.set("n", "<leader>;", ":", { desc = "command with ;" })
vim.keymap.set("v", "<leader>;", ":", { desc = "command with ;" }) vim.keymap.set("v", "<leader>;", ":", { desc = "command with ;" })
vim.keymap.set("n", "q", ":bd<cr>", { desc = "close buffer" }) vim.keymap.set("n", "q", ":bd<cr>", { desc = "close buffer" })
@ -67,3 +65,6 @@ vim.keymap.set("n", "<leader>d", function()
end, end,
}) })
end) end)
vim.keymap.set("n", "<leader>j", ":try | cprev | catch | clast | catch | endtry<cr>zz", { desc = "quickfix prev" })
vim.keymap.set("n", "<leader>k", ":try | cnext | catch | cfirst | catch | endtry<cr>zz", { desc = "quickfix next" })

View file

@ -84,3 +84,5 @@ vim.opt.splitbelow = true
vim.opt.cmdheight = 0 vim.opt.cmdheight = 0
vim.diagnostic.config({ virtual_text = true, underline = false }) vim.diagnostic.config({ virtual_text = true, underline = false })
vim.cmd.packadd("cfilter")

View file

@ -14,6 +14,7 @@ return {
width = { min = 40, max = 1000 }, width = { min = 40, max = 1000 },
height = { min = 1, max = 1000 }, height = { min = 1, max = 1000 },
}, },
image = {},
picker = { picker = {
matcher = { matcher = {
fuzzy = true, -- use fuzzy matching fuzzy = true, -- use fuzzy matching