Skip to content
/ tmw Public

A tmux workspace utility CLI

License

Notifications You must be signed in to change notification settings

torbsto/tmw

Repository files navigation

tmw

Build Status

A tmux workspace utility.

Features

  • Configure your existing workspaces
  • List workspaces
  • Preview the workspaces current tmux pane
  • Select the workspace and switch the tmux session

Usage

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'