From 4385c252eb461a0ec9dbf9569a8f9ef7f0664289 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 16 Jul 2024 16:12:12 +0100 Subject: Initial commit --- neovim/.config/nvim/lua/config/vimux.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 neovim/.config/nvim/lua/config/vimux.lua (limited to 'neovim/.config/nvim/lua/config/vimux.lua') 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('', 'vp', 'VimuxPromptCommand', {}) +-- Run last command executed by VimuxRunCommand +vim.keymap.set('', 'vl', 'VimuxRunLastCommand', {}) +-- Inspect runner pane +vim.keymap.set('', 'vi', 'VimuxInspectRunner', {}) +-- Close vim tmux runner opened by VimuxRunCommand +vim.keymap.set('', 'vq', 'VimuxCloseRunner', {}) +-- Interrupt any command running in the runner pane +vim.keymap.set('', 'vx', 'VimuxPromptInterruptRunner', {}) +-- Zoom the runner pane (use z to restore runner pane) +vim.keymap.set('', 'vz', 'call VimuxZoomRunner()', {}) -- cgit v1.2.3