tmux session manager powered by nim
Find a file
2023-09-25 12:24:39 -05:00
.github/workflows ci: reuse ftw 2023-09-08 16:52:09 -05:00
src fix: don't get session list if not running 2023-09-25 12:24:39 -05:00
.forge.cfg chore: remove old comment 2023-09-08 16:52:24 -05:00
.gitignore refactor: abstract tmux/project 2023-09-21 14:05:44 -05:00
config.nims initial mvp 2023-09-05 13:36:33 -05:00
nimble.lock chore: manually install ccnz 2023-09-05 18:25:50 -05:00
README.md initial mvp 2023-09-05 13:36:33 -05:00
tsm.nimble ci: ccnz is dead long live forge 2023-09-08 00:34:48 -05:00

Tmux session manager (tsm)

Install

There are pre-built binaries available in Releases including a nightly release.

w/eget:

eget daylinmorgan/tsm
eget daylinmorgan/tsm --pre-release # for nightly build

w/nimble:

nimble install https://github.com/daylinmorgan/tsm

Usage

To configure tsm export the environment variable TSM_DIRS, with a colon-delimited set of parent directories to find projects.

For example in your rc file:

export TSM_DIRS="$HOME/projects/personal:$HOME/projects/work"

To make full use of tsm you should also add a new key binding to your tmux.conf. For example you can bind the s key to show a popup with tsm:

bind s display-popup \
  -h 60% -w 60% \
  -B -e FZF_DEFAULT_OPTS="${FZF_DEFAULT_OPTS} --height=100%" \
  -E "tsm"

Prior Art