-- Keymap to open file in GitHub web vim.keymap.set("n", "gr", ":!gh browse %", { silent = true }) -- Pop a terminal to watch the current run local gitwatch = require("toggleterm.terminal").Terminal:new({ cmd = "fish --interactive --init-command 'gh run watch'" }) -- Set a toggle for this terminal function GITWATCH_TOGGLE() gitwatch:toggle() end -- Keymap to toggle the run vim.keymap.set("n", "gw", GITWATCH_TOGGLE)