{pkgs, ...}: { # TODO: Don't let the runner inherit nix-neovim's PATH vim.g = { VimuxUseNearest = 0; VimuxHeight = "30"; VimuxCloseOnExit = true; }; vim.keybindings.keybindings."" = { # It's possible to also use vim-tmux-navigator's :TmuxNavigatePrevious # Not too keen on it yet though rr = { command = "VimuxRunLastCommand"; label = "Rerun Command"; }; rp = { command = "VimuxPromptCommand"; label = "Prompt Command"; }; ro = { command = "VimuxOpenRunner"; label = "Open Runner"; }; rq = { command = "VimuxCloseRunner"; label = "Close Runner"; }; ry = { command = "VimuxInspectRunner"; label = "Copy Mode"; }; }; output.plugins = with pkgs.vimPlugins; [vimux]; }