A terminal UI for organizing and navigating tmux sessions with vim-like keybindings.
brew install garrettkrohn/rolo/rologo install github.com/garrettkrohn/rolo@latestOr build locally:
git clone https://github.com/garrettkrohn/rolo
cd rolo
go build-
Populate your session list:
rolo populate
-
Launch the UI to reorder sessions:
rolo
-
Navigate between sessions:
rolo next # Switch to next session rolo prev # Switch to previous session
Add to ~/.tmux.conf:
bind-key r run-shell "tmux popup -E -w 40% -h 60% 'rolo'"
bind-key j run-shell "rolo next"
bind-key k run-shell "rolo prev"j/k- Navigate up/downo- Attach to sessiond- Toggle delete/hide sessionD- Kill tmux sessionu- Update list (sync with active sessions)p- Repopulate list (replace with active sessions)m- Enter move modes/Enter- Save and quitq/Esc/Ctrl+C- Quit without saving
j/k- Move item up/downm- Return to normal modes/Enter- Save and quit
Settings are stored in ~/.config/rolo/config.json:
{
"wrap_around": false
}wrap_around: Enable wrap-around navigation (default:false), for example if you're at the bottom session in a stack, when you hit next, does it go back to the top or do nothing.
Session data is stored in ~/.config/rolo/rolo.json. Files are created automatically on first save.
rolo- Launch interactive UIrolo populate- Fetch and save all active tmux sessionsrolo next- Switch to next session in orderrolo prev- Switch to previous session in orderrolo help- Show help message