Follow these steps to build, install, and run T-Strip for the first time.
curl -fsSL https://raw.githubusercontent.com/dip-bash/tstrip/main/install.sh | bash
tst --init
You need Go 1.22 or newer.
git clone https://github.com/dip-bash/tstrip.git
cd tstrip
go mod tidy
make build
This produces a file called tst in the current folder.
Run:
./tst --init
This writes two files to ~/.config/tst/:
config.toml — your settings and key bindingswallpaper.toml — the program that draws behind your panesYou do not need to edit anything yet. The built-in defaults work great.
./tst
This opens session “main”. The first time, it starts a background server and attaches to it. You will see an empty workspace.
The default leader key is alt. All shortcuts are written as leader+<key>, so leader+enter means alt+enter.
Try these right away:
| Press | What happens |
|---|---|
alt+enter |
Open a new pane (a new column) |
alt+s |
Stack a new pane below the focused one |
alt+h / alt+l / alt+j / alt+k |
Focus left / right / down / up |
alt+1 … alt+9 |
Switch to workspace 1 … 9 |
alt+o |
Open the overview (see all workspaces at once) |
alt+a |
Enter copy mode (vim-style selection) |
alt+d |
Detach — the session keeps running |
alt+Q |
Quit the session for good |
Open a pane and run a command that keeps printing, so you can see scrollback in action:
alt+enter — open a new paneyes and press Enter — the pane fills with y linesshift+pageup — scroll back through the historyalt+d — detach./tst — your yes process is still runningDetaching is the superpower of T-Strip. Your programs keep running on the server even when no terminal is attached.
# From inside T-Strip:
alt+d # detach; close your terminal if you want
# Later, from any terminal:
./tst # attach to "main"
./tst -s work # attach to session "work"
./tst ls # list all live sessions
./tst kill work # end a session and everything in it
You can drive a running session from any shell or script. The program always goes in double quotes, as one argument:
tst open "htop" -n 3 -w 0.33 # htop in workspace 3, one third width
tst open "tail -f /var/log/syslog" --below
tst open "make watch" -k # keep focus where it is
tst workspace 3 # switch view
tst focus left # move focus
tst width 50% # resize focused column
tst send -e "make test" # type into a pane, press Enter after
tst close # close the focused pane
tst list # list panes
tst action overview # run any action by name
Now that you are up and running, dig deeper:
config.tomlTip: Press alt+/ inside T-Strip to open a scrollable help overlay that shows your current key bindings.