Add btm floating terminal shortcut

This commit is contained in:
Tyler Hallada 2023-12-01 15:28:12 -05:00
parent 210e52ee18
commit c24d76774e

View File

@ -11,6 +11,10 @@ vim.keymap.set("n", "<leader>D", function()
Util.terminal({ "lazydocker" }, { esc_esc = false, ctrl_hjkl = false }) Util.terminal({ "lazydocker" }, { esc_esc = false, ctrl_hjkl = false })
end, { desc = "Toggle lazydocker (console Docker Desktop) floating terminal" }) end, { desc = "Toggle lazydocker (console Docker Desktop) floating terminal" })
vim.keymap.set("n", "<leader>B", function()
Util.terminal({ "btm" }, { esc_esc = false, ctrl_hjkl = false })
end, { desc = "Toggle bottom (improved console top monitor) floating terminal" })
-- Allow Cmd+V pasting on mac -- Allow Cmd+V pasting on mac
if vim.fn.has("mac") == 1 then if vim.fn.has("mac") == 1 then
vim.keymap.set("n", "<D-v>", '"+p') vim.keymap.set("n", "<D-v>", '"+p')