diff options
Diffstat (limited to 'neovim/.config/nvim/lua/config/vimux.lua')
-rw-r--r-- | neovim/.config/nvim/lua/config/vimux.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/neovim/.config/nvim/lua/config/vimux.lua b/neovim/.config/nvim/lua/config/vimux.lua new file mode 100644 index 0000000..16348dc --- /dev/null +++ b/neovim/.config/nvim/lua/config/vimux.lua @@ -0,0 +1,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>', {}) |