Add quicker toggle zoom keybind, update plugins

This commit is contained in:
2026-02-10 15:04:54 -05:00
parent 151efb6ae1
commit ccebe78d4e
2 changed files with 9 additions and 4 deletions

View File

@@ -14,6 +14,11 @@ vim.keymap.set("n", "<leader>B", function()
Snacks.terminal({ "btop" }, { esc_esc = false, ctrl_hjkl = false })
end, { desc = "Toggle btop (improved console top monitor) floating terminal" })
-- Toggle zoom/maximize current window (<C-w> is the vim window prefix, m for maximize)
vim.keymap.set({ "n", "t" }, "<C-w>m", function()
Snacks.toggle.zoom():toggle()
end, { desc = "Toggle Zoom" })
-- Allow Cmd+V pasting on mac
if vim.fn.has("mac") == 1 then
vim.keymap.set("n", "<D-v>", '"+p')