local K = require("my.keymaps") local M = {} function M.setup() --{{{ Register keybinds K.nmap("vp", ":VimuxPromptCommand", "[V]imux: [p]rompt for command") K.nmap("vc", ':VimuxRunCommand "clear"', "[V]imux: [c]lear pane") K.nmap( "vl", ":VimuxRunLastCommand", "[V]imux: rerun [l]ast command" ) --}}} --{{{ Register which-key docs local status, wk = pcall(require, "which-key") if status then wk.register({ ["v"] = { name = "vimux", }, }) end --}}} end return M