-- Keymaps are automatically loaded on the VeryLazy event -- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua -- Add any additional keymaps here local Util = require("lazyvim.util") vim.keymap.set("n", "H", function() Util.terminal({ "clx" }) end, { desc = "Toggle clx (console HackerNews) floating terminal" }) vim.keymap.set("n", "D", function() Util.terminal({ "lazydocker" }, { esc_esc = false, ctrl_hjkl = false }) end, { desc = "Toggle lazydocker (console Docker Desktop) floating terminal" }) vim.keymap.set("n", "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 if vim.fn.has("mac") == 1 then vim.keymap.set("n", "", '"+p') vim.keymap.set("n", "", '"+p') vim.keymap.set("i", "", "*") vim.keymap.set("i", "", "*") vim.keymap.set("t", "", '"+pi') vim.keymap.set("t", "", '"+pi') end