Tmuxy is a VS Code extension that aims to seamlessly integrates with tmux
, allowing you to execute snippets from your editor directly into your Tmux sessions. With Tmuxy, you can effortlessly run snippets in specific Tmux panes, making your development workflow even more efficient.
Note: This extension understably require tmux
to be installed on your system and set to path.
Run Commands in Tmux:
- Execute commands from VS Code directly into your Tmux sessions. Choose the Tmux session, window, and pane interactively.
Flexible Execution
- Run commands on selected text lines or the current cursor line in the editor.
-
tmuxy.RunCommand
:- Prompts the user to select a Tmux
session
,window
, orpane
. - If only one option is available for
window
andpane
, Tmuxy will automatically select them.
- Prompts the user to select a Tmux
-
tmuxy.RunCommandSaved
:- Runs the selected code using the Tmux
session
,window
, andpane
from the last run, provided they are still available and unchanged.
- Runs the selected code using the Tmux
- Select text lines or position the cursor on a line.
- Execute the command (
Ctrl + K, Ctrl + C
). - Tmuxy will prompt you to choose a Tmux session, window, and pane.
- The selected or current line will be executed in the chosen Tmux pane.
- Select text lines or position the cursor on a line, then execute the command.
- Execute the command (
Ctrl + K, Ctrl + S
). - If, you have used
RunCommand
prior and the target pane is stil available then it will use last. - The selected or current line will be executed in the chosen Tmux pane.