Jump to content

Tmux workflow


Recommended Posts

I created a Tmux workflow for myself. Below is the screenshot.

 

It is heavily integrated with how Tmux is setup on my machine, so it might not be very useful to other people. However it might inspire people to create something they like :-P

 

Here is what it does

  • Open my default Tmux session, list all windows, put the active window as the first, last active window as the second, other windows are shown after
  • Each item shows the window's index and name
  • In the subtitle, list panes and the process(e.g. vim, idle shell + current directory, other long running processes)
  • I can type window index or window name to narrow down to one window
  • When there is only one window, show panes list
  • Commands can follow window index + pane index and they'll be sent to the right pane to run

Code lives here: https://github.com/gcao/Tmux.alfredworkflow

 

 

jcKxBO6.png

Edited by gcao
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...