A tmux workspace utility.
- Configure your existing workspaces
- List workspaces
- Preview the workspaces current tmux pane
- Select the workspace and switch the tmux session
tmw is intended to be used with other tools like fzf and direnv.
For example, the following command opens a fuzzy-search over all configured workspaces, shows a preview of the current pane for each workspace and switches to the selected workspace:
tmw select $(tmw list --exclude-active | fzf --prompt="Session> " --preview='tmw preview {}')
It can be combined with a tmux pop-up:
bind-key f display-popup -E '$SHELL -c $TMW_COMMAND'