mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-11-16 09:18:32 -06:00
tmux session manager powered by nim
Daylin Morgan
0098a70de1
Flake lock file updates: • Updated input 'nixpkgs': 'github:nixos/nixpkgs/280db3decab4cbeb22a4599bd472229ab74d25e1' (2024-09-12) → 'github:nixos/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933' (2024-11-07) |
||
---|---|---|
.github/workflows | ||
nix | ||
src | ||
.forge.cfg | ||
.gitignore | ||
config.nims | ||
nimble.lock | ||
README.md | ||
todo.md | ||
tsm.nimble |
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 below environment variables:
TSM_PATHS
: a colon-delimited set of parent directories to find projects.
TSM_HEIGHT
: integer specifying number of rows in terminal (default: 15)
For example in your rc file:
export TSM_PATHS="$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 f key to show a popup with tsm
:
bind f display-popup \
-h 60% -w 60% \
-E "tsm"