Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 878 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 878 Bytes

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'