Add btm floating terminal shortcut
This commit is contained in:
parent
210e52ee18
commit
c24d76774e
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user