1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
vim.g.VimuxUseNearest = 0
vim.gVimuxResetSequence = ""
-- Prompt for a command to run
vim.keymap.set('', '<Leader>vp', '<cmd>VimuxPromptCommand<CR>', {})
-- Run last command executed by VimuxRunCommand
vim.keymap.set('', '<Leader>vl', '<cmd>VimuxRunLastCommand<CR>', {})
-- Inspect runner pane
vim.keymap.set('', '<Leader>vi', '<cmd>VimuxInspectRunner<CR>', {})
-- Close vim tmux runner opened by VimuxRunCommand
vim.keymap.set('', '<Leader>vq', '<cmd>VimuxCloseRunner<CR>', {})
-- Interrupt any command running in the runner pane
vim.keymap.set('', '<Leader>vx', '<cmd>VimuxPromptInterruptRunner<CR>', {})
-- Zoom the runner pane (use <bind-key> z to restore runner pane)
vim.keymap.set('', '<Leader>vz', '<cmd>call VimuxZoomRunner()<CR>', {})
|