Stupidly simple zsh plugin to have a R-EP-L tmux session.
I like to keep my tmux workspace organized into a CommandPanel(to type commands in) and an ExecutionPanel(where the command gets executed). This plugin achieves exactly that.
- Clone the repository into oh-my-zsh custom plugin folder.
git clone https://github.com/csurfer/tmuxrepl.git ~/.oh-my-zsh/custom/plugins/tmuxrepl
-
Add
tmuxrepl
into plugin list in your.zshrc
-
source ~/.zshrc
With setup properly done, you should be able to enter the tmux REPL session using
command tmuxrepl
. To exit use Ctrl-C
.
We use a lot of special keys in our day to day shell usage. To actually send those keys to the execution pane you have to use it in terms that tmux can understand i,e how you would use them in tmux.conf. A few examples are listed below.
Key | Command panel equivalent |
---|---|
Enter | Enter or C-m |
Escape | Escape |
Please use issue tracker for reporting bugs or feature requests.
Pull requests are most welcome.
If you found the utility helpful you can buy me a cup of coffee using